compiling samples
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113243 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
73339f1e81
commit
ac583b511b
1 file changed
+5
-1
@@ -6,7 +6,11 @@
|
||||
xmlns:m="maven">
|
||||
|
||||
<goal name="runsample" description="run sample" prereqs="native:compile">
|
||||
|
||||
<mkdir dir="${maven.build.dir}/samples"/>
|
||||
<javac srcdir="${basedir}/src/sample/java"
|
||||
destdir="${maven.build.dir}/samples"
|
||||
fork="true"
|
||||
/>
|
||||
<java classname="org.apache.maven.natives.sample.helloworld.HelloWorld" fork="yes">
|
||||
<sysproperty key="java.library.path" value="${maven.build.dir}/native"/>
|
||||
<classpath>
|
||||
|
||||
Reference in new issue
Block a user