Both builds are broken. Your classpath files shouldn't contain any platform specific paths, they should be relative and prefixed with things like APPROOT, WOROOT and LOCALROOT, which gets expanded at launch time to point to the correct path based on the value of the NEXT_ROOT environment variable of the system you deploy it on.
Make sure that NEXT_ROOT is set correctly, and your wolips.properties file is set accordingly. If you installed WO with WOInstaller.jar just point NEXT_ROOT to the place you installed it and WOLips should create a wolips.properties file that contains the correct paths. Note that MacOSX and Unix have different Local and System paths. On MacOSX System root = NEXT_ROOT/System Local root = NEXT_ROOT On Unix/Linux System root = NEXT_ROOT Local root = NEXT_ROOT/Local That said however, if you simply embed all frameworks in your app then this problem will be a moot point. On 20/12/2011, at 9:38 PM, Victor Petrenko wrote: > Hi everyone, > > I've found strange issue connected with ant build. UNIXClasspath.txt > which was built on MacOSX is perfectly correct: > > > APPROOT/Resources/Java/ > APPROOT/Resources/Java/gdata-analytics-2.0.jar > ... > APPROOT/Resources/Java/yuicompressor-2.4.6.jar > > /Library/Frameworks/ERExtensions.framework/Resources/Java/erextensions.jar > ... > > /Library/Frameworks/ERJGroupsSynchronizer.framework/Resources/Java/jgroups-2.6.8.jar > /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar > /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar > /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar > /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar > /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar > /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar > /System/Library/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar > /System/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar > /System/Library/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar > > > But the same build on linux machine (ec2 amazon linux) is very strange: > > > APPROOT/Resources/Java/ > APPROOT/Resources/Java/gdata-analytics-2.0.jar > ... > APPROOT/Resources/Java/yuicompressor-2.4.6.jar > > LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/erextensions.jar > ... > LOCALROOT/Library/Frameworks/ERJGroupsSynchronizer.framework/Resources/Java/erjgroupssynchronizer.jar > LOCALROOT/opt/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar > LOCALROOT/opt/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar > LOCALROOT/opt/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar > LOCALROOT/opt/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar > LOCALROOT/opt/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar > LOCALROOT/opt/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar > LOCALROOT/opt/Library/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar > LOCALROOT/opt/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar > LOCALROOT/opt/Library/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar > > It's obvious that LOCALROOT shouldn't be there. I've tried several > versions of woproject.jar (including latest stable & current) with no > luck. I'm going to omit LOCALROOT with search & replace as a custom > build step but it's a kind of hack. I've tried to find issue in > woproject sources but no luck too, no fixes about a year or so. Maybe > someone has a better solution or idea? > > > Thanks! > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
