I’m trying to build a NetBeans project in Jenkins. I have added these lines to
the Properties of the “Invoke Ant” build step:
j2ee.server.home=/usr/share/glassfish3/glassfish
platform.home=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
libs.CopyLibs.classpath=java\
components/NetBeans/org-netbeans-modules-java-j2seproject-copylibstask.jar
When I run it I get this output. What am I missing? I’m not a NetBeans
developer, so go easy on me...
Building in workspace /var/lib/jenkins/workspace/Build Project
Updating http://10.224.48.53:8080/svn/main <http://10.224.48.53:8080/svn/main>
at revision '2014-10-31T10:51:30.716 -0400'
At revision 3725
no change for http://10.224.48.53:8080/svn/main
<http://10.224.48.53:8080/svn/main> since the previous build
[Project] $ /var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant/bin/ant
-file build.xml -Dplatform.home=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
"-Dlibs.CopyLibs.classpath=java
components/NetBeans/org-netbeans-modules-java-j2seproject-copylibstask.jar"
-Dj2ee.server.home=/usr/share/glassfish3/glassfish
Buildfile: /var/lib/jenkins/workspace/Build
Project/branches/UAT/Project/build.xml
-pre-init <>:
-init-private <>:
-init-user <>:
-init-project <>:
-init-macrodef-property <>:
-do-init <>:
-post-init <>:
-init-check <>:
-init-ap-cmdline-properties <>:
-init-macrodef-javac-with-processors <>:
-init-macrodef-javac-without-processors <>:
-init-macrodef-javac <>:
-init-macrodef-test-impl <>:
-init-macrodef-junit-init <>:
-init-macrodef-junit-single <>:
-init-test-properties <>:
-init-macrodef-junit-batch <>:
-init-macrodef-junit <>:
-init-macrodef-junit-impl <>:
-init-macrodef-testng <>:
-init-macrodef-testng-impl <>:
-init-macrodef-test <>:
-init-macrodef-junit-debug <>:
-init-macrodef-junit-debug-batch <>:
-init-macrodef-junit-debug-impl <>:
-init-macrodef-test-debug-junit <>:
-init-macrodef-testng-debug <>:
-init-macrodef-testng-debug-impl <>:
-init-macrodef-test-debug-testng <>:
-init-macrodef-test-debug <>:
-init-macrodef-java <>:
-init-debug-args <>:
-init-macrodef-nbjpda <>:
-init-macrodef-nbjsdebug <>:
-init-macrodef-debug <>:
-init-taskdefs <>:
[taskdef] Could not load definitions from resource
org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could not be
found.
-init-ap-cmdline-supported <>:
-init-ap-cmdline <>:
init <>:
deps-module-jar <>:
deps-ear-jar <>:
deps-jar <>:
-pre-pre-compile <>:
-pre-compile <>:
-copy-manifest <>:
-copy-persistence-xml <>:
-copy-webdir <>:
library-inclusion-in-archive <>:
BUILD FAILED
/var/lib/jenkins/workspace/Build
Project/branches/UAT/Project/nbproject/build-impl.xml:1079: Problem: failed to
create task or type copyfiles
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Total time: 1 second
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE
Thanks,
-Scott
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/DA8891C9-6BFE-4D27-A0DC-F68EFE280457%40genevish.org.
For more options, visit https://groups.google.com/d/optout.