|
From: Michael M. <mic...@su...> - 2009-03-18 15:09:44
|
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 <Mic...@su...>
>
>> 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>
>
>
--
View this message in context: http://www.nabble.com/jade-native-plugin-not-finding-sources-tp22541754p22580863.html
Sent from the Jade Plugins Users mailing list archive at Nabble.com.
|