Here is one of the apps I build with the help of generic.xml ant build file. The wocompile phase fails because it cannot find the WO and Wonder frameworks. But they are there, in the regular place and so far all paths seem to be correct (java class path). I must miss something but fail to see it. Anyone having better eyes than me? Directly included here is just the failing part. I have attached a ZIP file containing the full output for reference (hope the attachment makes it through)
$ ant -debug -emacs -f /Users/Shared/Developer/SourceDistributions/WonderSource/Build/build/generic.xml \
-Dproject.type=application \
-Dproject.name=ImmoData \
-Dproject.principal.class=ch.kastl.immodata.Application \
-Dproject.dir=/Users/ruggiero/workspace/ImmoData \
-Dwo.local.root.bundles.embed=true \
-Dwo.system.root.bundles.embed=true \
generic.build
. . . . [snip tons of output, all looking perfectly ok] . . . .
Compilation arguments:
'-d'
'/Users/ruggiero/Roots/classes/ImmoData'
'-classpath'
'/Users/ruggiero/Roots/classes/ImmoData:/Users/ruggiero/workspace/ImmoData/Libraries/fop.jar:/Users/ruggiero/workspace/ImmoData/Libraries/mysql-connector-java-5.1.46-bin.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWebServicesSupport.framework/Resources/Java/javawebservicessupport.jar.src.zip:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaWebServicesSupport.framework/Resources/Java/javawebservicessupport.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Users/Shared/Developer/Libraries/Wonder/wo.system.root/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar.src.zip'
'-sourcepath'
'/Users/ruggiero/workspace/ImmoData/Sources'
'-target'
'1.8'
'-encoding'
'utf-8'
'-g'
'-source'
'1.8'
The ' characters around the executable and arguments are
not part of the command.
Files to be compiled:
......[snip]......
warning: [options] bootstrap class path not set in conjunction with -source 8
/Users/ruggiero/workspace/ImmoData/Sources/ch/kastl/immodata/Application.java:14: error: package er.extensions.appserver does not exist
import er.extensions.appserver.ERXApplication;
^