jade-native-plugin not finding sources

View: New views
3 Messages — Rating Filter:   Alert me  

jade-native-plugin not finding sources

by Michael Maven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,

I'm converting from native-maven-plugin to jade-native-plugin and having
trouble getting the jade plugin to find my sources.  The source is in
src/main/native, which is the default.  Experimentation shows that the
plugin doesn't seem to recognize any of the configuration options.

Here's the snippet from the pom file:
       <plugin>
                <groupId>org.jfrog.jade.plugins.build</groupId>
                <artifactId>jade-native-plugin</artifactId>
                <version>1.3.8</version>  <!-- I also tried the 1.4
version -->
                <extensions>true</extensions>
        </plugin>

I've also tried:

       <plugin>
                <groupId>org.jfrog.jade.plugins.build</groupId>
                <artifactId>jade-native-plugin</artifactId>
                <version>1.3.8</version>
                <extensions>true</extensions>
         <configuration>
           <sources>
             <source>
               <directory>../src/main/native</directory> <!-- I also
tried src/main/native -->
               <includes>
                 <include>*.cpp</include>
               </includes>
             </source>
             </sources>
             </configuration>
       </plugin>


[Michael_Kearney.vcf]

begin:vcard
fn:Michael Kearney
n:Kearney;Michael
org:Sun Microsystems, Inc.;Archive Core Engineering
adr:500 Eldorado Blvd.;;Mailstop UBRM05-390;Broomfield;CO;80021;US
email;internet:Michael.Kearney@...
title:Staff Software Engineer
tel;work:303-272-2402
tel;fax:303-272-6554
x-mozilla-html:TRUE
url:http://www.sun.com/
version:2.1
end:vcard



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Jade-plugins-users mailing list
Jade-plugins-users@...
https://lists.sourceforge.net/lists/listinfo/jade-plugins-users

Re: jade-native-plugin not finding sources

by freddy33 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like a standard issue, just got a thread about it with orange telecom (I'll forward the whole thread).
The issue is that I made jade-native-plugin use standard maven <build><sourceDirectory>xxx</sourceDirectory><test... instead of the inline sources.

Should solve your issue.

2009/3/16 Michael Kearney <Michael.Kearney@...>
Hello All,

I'm converting from native-maven-plugin to jade-native-plugin and having trouble getting the jade plugin to find my sources.  The source is in src/main/native, which is the default.  Experimentation shows that the plugin doesn't seem to recognize any of the configuration options.

Here's the snippet from the pom file:
     <plugin>
              <groupId>org.jfrog.jade.plugins.build</groupId>
              <artifactId>jade-native-plugin</artifactId>
              <version>1.3.8</version>  <!-- I also tried the 1.4 version -->
              <extensions>true</extensions>
      </plugin>

I've also tried:

     <plugin>
              <groupId>org.jfrog.jade.plugins.build</groupId>
              <artifactId>jade-native-plugin</artifactId>
              <version>1.3.8</version>
              <extensions>true</extensions>
       <configuration>
         <sources>
           <source>
             <directory>../src/main/native</directory> <!-- I also tried src/main/native -->
             <includes>
               <include>*.cpp</include>
             </includes>
           </source>
           </sources>
           </configuration>
     </plugin>


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Jade-plugins-users mailing list
Jade-plugins-users@...
https://lists.sourceforge.net/lists/listinfo/jade-plugins-users




--
http://www.jfrog.org/
http://freddy33.blogspot.com/
http://nothingisinfinite.blogspot.com/

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Jade-plugins-users mailing list
Jade-plugins-users@...
https://lists.sourceforge.net/lists/listinfo/jade-plugins-users

Re: jade-native-plugin not finding sources

by Michael Maven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the pointer.  I also inserted an entry for the test code and was able to
remove the entire <sources> section.  Here's what I have now:
        <sourceDirectory>src/main/native</sourceDirectory>
        <testSourceDirectory>src/test/native</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.jfrog.jade.plugins.build</groupId>
                <artifactId>jade-native-plugin</artifactId>
                <version>1.4-alpha1</version>
                <extensions>true</extensions>
                <configuration>
                    <linkerStartOptions>
                        <linkerStartOption>-g -m64</linkerStartOption>
                    </linkerStartOptions>
                    <linkerEndOptions>
                        <linkerEndOption>-L /opt/mysql/mysql/lib -L ../3rdparty/log4cpp-1.0/src/.libs -L ../3rdparty/cppunit-1.12.1/lib</linkerEndOption>
                        <linkerEndOption>-l mysqlclient -lpthread -lnsl -lsec -lz -lsocket -llog4cpp -lcppunit-1.12</linkerEndOption>
                    </linkerEndOptions>
                    <compilerStartOptions>
                        <compilerStartOption>-g -m64 -I/usr/local/mysql/include -I../3rdparty/cppunit-1.12.1/include</compilerStartOption>
                    </compilerStartOptions>
                    <compilerExecutable>g++</compilerExecutable>
                    <linkerExecutable>g++</linkerExecutable>
                </configuration>
            </plugin>
        </plugins>


freddy33 wrote:
Looks like a standard issue, just got a thread about it with orange telecom
(I'll forward the whole thread).The issue is that I made jade-native-plugin
use standard maven <build><sourceDirectory>xxx</sourceDirectory><test...
instead of the inline sources.

Should solve your issue.

2009/3/16 Michael Kearney <Michael.Kearney@sun.com>

> Hello All,
>
> I'm converting from native-maven-plugin to jade-native-plugin and having
> trouble getting the jade plugin to find my sources.  The source is in
> src/main/native, which is the default.  Experimentation shows that the
> plugin doesn't seem to recognize any of the configuration options.
>
> Here's the snippet from the pom file:
>      <plugin>
>               <groupId>org.jfrog.jade.plugins.build</groupId>
>               <artifactId>jade-native-plugin</artifactId>
>               <version>1.3.8</version>  <!-- I also tried the 1.4 version
> -->
>               <extensions>true</extensions>
>       </plugin>
>
> I've also tried:
>
>      <plugin>
>               <groupId>org.jfrog.jade.plugins.build</groupId>
>               <artifactId>jade-native-plugin</artifactId>
>               <version>1.3.8</version>
>               <extensions>true</extensions>
>        <configuration>
>          <sources>
>            <source>
>              <directory>../src/main/native</directory> <!-- I also tried
> src/main/native -->
>              <includes>
>                <include>*.cpp</include>
>              </includes>
>            </source>
>            </sources>
>            </configuration>
>      </plugin>