WOCompile cannot be found.
WOCompile cannot be found.
- Subject: WOCompile cannot be found.
- From: Douglas Andrews <email@hidden>
- Date: Thu, 12 Nov 2015 19:57:09 +0000
- Thread-topic: WOCompile cannot be found.
- X_v_e_cd: da94675afb99ec81b448151a9d7e5037
- X_v_r_cd: cc87cf984b25cf85e9d6385222edd5f8
I am having trouble compiling an app via command line on an Amazon Linux box.
I've see this problem before on the list, but cannot seem to resolve it.
I keep getting the following build error:
taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found
How can I make it find WOCompile?
Any help would be really appreciated.
I start the build will the following command line:
/home/ec2-user/SVNSOURCE/Eclipse-Indigo/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/ant -d -lib /home/ec2-user/SVNSOURCE/Eclipse-Indigo/eclipse/plugins/org.objectstyle.wolips.woproject.ant_3.7.20140223.48.jar compileAndBuild
Which produces the following error output:
Apache Ant(TM) version 1.8.3 compiled on February 25 2015
Trying the default build file: build.xml
Buildfile: /tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.7 in: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91.x86_64/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> /tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml with URI = file:/tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml
Setting ro project property: ant.project.name -> CircWeb
Adding reference: CircWeb
Setting ro project property: ant.project.default-target -> build
Setting ro project property: ant.file.CircWeb -> /tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml
Setting ro project property: ant.file.type.CircWeb -> file
Project base dir set to: /tmp/BuildCircF/Eclipse/Core/CircWeb
+Target:
+Target: build
+Target: compileAndBuild
+Target: install
+Target: clean
+Target: setProps
+Target: init.install
+Target: init.build
+Target: build.woapp
+Target: war
+Target: ssdd
+Target: compile
Adding reference: ant.LocalProperties
Setting ro project property: ant.project.invoked-targets -> compileAndBuild
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `compileAndBuild' is [setProps, init.build, compile, build.woapp, ssdd, war, compileAndBuild]
Complete build sequence is [setProps, init.build, compile, build.woapp, ssdd, war, compileAndBuild, init.install, install, clean, build, ]
setProps:
parsing buildfile jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[property] Loading /home/ec2-user/build.properties
[property] Unable to find property file: /home/ec2-user/build.properties
[property] Loading /tmp/BuildCircF/Eclipse/Core/CircWeb/build.properties
Setting project property: project.name.lowercase -> circweb
Setting project property: webXML_CustomContent ->
Setting project property: project.name -> CircWeb
Setting project property: principalClass -> Application
Setting project property: eoAdaptorClassName ->
Setting project property: webXML -> false
Setting project property: classes.dir -> bin
Setting project property: customInfoPListContent ->
[property] Loading /home/ec2-user/Library/wobuild.properties
Setting project property: wo.woroot -> /
Setting project property: wo.dir.user.home.library.frameworks -> /Library/Frameworks
Setting project property: jvmOptions -> -J-mx256m
Setting project property: wo.wolocalroot -> /
Setting project property: wo.wosystemroot -> /opt/System
Setting project property: wo.dir.reference.api -> /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/MacOSXServer/Reference/WO54_Reference
Class org.apache.tools.ant.types.resources.selectors.Not loaded from parent loader (parentFirst)
Class org.apache.tools.ant.taskdefs.condition.And loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.resources.selectors.And loaded from parent loader (parentFirst)
Class org.apache.tools.ant.taskdefs.condition.IsSet loaded from parent loader (parentFirst)
Condition false; not setting wo.properties.check.failed
Setting project property: install.dir -> //Library/WebObjects/Applications
init.build:
Setting project property: DSTAMP -> 20151112
Setting project property: TSTAMP -> 1946
Setting project property: TODAY -> November 12 2015
Setting project property: dest.dir -> dist
compile:
Finding class org.objectstyle.woproject.ant.WOCompile
BUILD FAILED
/tmp/BuildCircF/Eclipse/Core/CircWeb/build.xml:392: taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found
using the classloader AntClassLoader[]
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:622)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
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:606)
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:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOCompile
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)
... 18 more
Any ideas?
_______________________________________________
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