Re: Jenkins ant error?
Re: Jenkins ant error?
- Subject: Re: Jenkins ant error?
- From: Pascal Robert <email@hidden>
- Date: Mon, 27 May 2013 21:58:13 -0400
Check woproject.jar in the Jenkins job, it's probably a HTML file coming from webobjects.mdimension, because older versions of the scripts are getting woproject.jar from webobjects.mdimension/hudson, which is always down and a GET request on it will return a HTML page instead of the jar.
See:
https://github.com/avendasora/WOJenkins/commit/bd9b43c0b7ab90fe6bad83445dbe4ceb2c1366be
> Trying hard to finally get Jenkins nailed... so close.
>
> Here is my perplexing error at the console:
>
> init.properties
> :
> [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
> [property] Loading /var/lib/jenkins/workspace/My_WebObjects_Project_AllInOne_Yella/Projects/YellaDashboard/build.properties
> Override ignored for property "project.name"
> Override ignored for property "wolips.properties"
> [property] Loading /var/lib/jenkins/workspace/My_WebObjects_Project_AllInOne_Yella/Root/jenkins.build.properties
> Override ignored for property "project.name"
> Override ignored for property "wo.system.root"
> Override ignored for property "wolips.properties"
> Override ignored for property "wo.system.frameworks"
> Override ignored for property "wo.bootstrapjar"
> Override ignored for property "wo.extensions"
> Override ignored for property "ant.build.javac.target"
> Override ignored for property "wo.local.frameworks"
> Override ignored for property "wo.apps.root"
> Override ignored for property "wo.local.root"
>
>
> init.build
> :
>
>
> compile
> :
>
>
> BUILD FAILED
>
> /var/lib/jenkins/workspace/My_WebObjects_Project_AllInOne_Yella/Projects/YellaDashboard/build.xml:203: taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found
> at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:609)
> at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
> at org.apache.tools.ant.Main.runBuild(Main.java:758)
> at org.apache.tools.ant.Main.startAnt(Main.java:217)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOCompile
> at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
> at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
> at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:266)
> at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
> ... 18 more
> --- Nested Exception ---
> java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOCompile
>
>
>
> Thoughts? Help?
> Thanks
> James
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden