Hi,
here is woapplication task generated by a new wo application with eclipse 3.5 + wolips 3.5.5990
<woapplication name="${project.name}" stdFrameworks="false" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="${principalClass}" webXML="${webXML}" webXML_CustomContent="${webXML_CustomContent}" jvm="${jvm}" jdb="${jdb}" javaVersion="${javaVersion}" jvmOptions="${jvmOptions}" jdbOptions="${jdbOptions}" cfbundleversion="${cfBundleVersion}" cfbundleshortversion="${cfBundleShortVersion}" cfbundleID="${cfBundleID}">
Now I solved by copying the build.xml from a new application I just created with eclipse-jee-ganimede + wolips 3.4.5950 Not nice, but it seems that this workaround works.
It seems that I have to work with 3 differents Eclipse: 3.3, 3.4, 3.5
Thanks Chuck and David for your suggests
Paolo
Il giorno 27/set/2009, alle ore 20.40, Chuck Hill ha scritto: It looks like you have an outdated XML file (yes, I know you just copied in a new one). What does the whole woapplication task look like? Chuck On Sep 27, 2009, at 11:14 AM, Paolo Sommaruga wrote: I removed stdFrameworks="false" but I have a lot of errors
build.xml:63: There is no root named '/System' in [[ExternalFolderRoot: name = Project Local Frameworks; folder = null], [ExternalFolderRoot: name = External Build Root; folder = null], [ExternalFolderRoot: name = User Frameworks; folder = /Users/psomma/Library/Frameworks], [ExternalFolderRoot: name = Local Frameworks; folder = /Library/Frameworks], [ExternalFolderRoot: name = System Frameworks; folder = /System/Library/Frameworks], [ExternalFolderRoot: name = Network Frameworks; folder = /Network/Library/Frameworks]].
Paolo
Il giorno 27/set/2009, alle ore 20.07, Chuck Hill ha scritto:
On Sep 27, 2009, at 10:37 AM, Paolo Sommaruga wrote:
Hi,
I migrated a wo application from eclipse 3.3.x to eclipse 3.5 + wolips 3.5.5990 I replaced the build.xml file and the woproject folder with the one obtained from a new project created on purpose with eclipse 3.5
All works fine when one run the application within eclipse (incremental build style), but with ant build there is the following error
build.xml:63: woapplication doesn't support the "stdFrameworks" attribute
I'm in the trouble because I need the ant build. I have a Snow Leopard, and so Ant 1.7.0
Can someone suggest me ?
Look for a line like:
<woapplication name="${project.name}" stdFrameworks=...
and remove the stdFrameworks part.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
|