• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: migrated to 3.5 with ant build problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: migrated to 3.5 with ant build problem


  • Subject: Re: migrated to 3.5 with ant build problem
  • From: Paolo Sommaruga <email@hidden>
  • Date: Sun, 27 Sep 2009 22:04:38 +0200

ops! I apologize

<!-- add webXML="true" in build.properties file to generate a web.xml file -->
   <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}">
    <classes dir="${classes.dir}">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/classes.include.patternset"/>
<excludesfile name="${WOLipsContext.getAntFolderName()}/classes.exclude.patternset"/>
</patternset>
    </classes>
    <wsresources dir=".">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/wsresources.include.patternset"/>
<excludesfile name="${WOLipsContext.getAntFolderName()}/wsresources.exclude.patternset"/>
</patternset>
</wsresources>
    <resources dir=".">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/resources.include.patternset"/>
<excludesfile name="${WOLipsContext.getAntFolderName()}/resources.exclude.patternset"/>
</patternset>
        </resources>
        <!-- If deploy ssdd/war then change embed to "true" here -->
<frameworks root="${wo.wosystemroot}" embed="false">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/ant.frameworks.wo.wosystemroot"/>
</patternset>
    </frameworks>
        <!-- If deploy ssdd/war then change embed to "true" here -->
    <frameworks root="${wo.wolocalroot}" embed="false">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/ant.frameworks.wo.wolocalroot"/>
</patternset>
    </frameworks>
        <!-- If deploy ssdd/war then change embed to "true" here -->
<frameworks root="${user.home}" embed="false">
       <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/ant.frameworks.user.home"/>
</patternset>
    </frameworks>
<otherclasspath root="${wo.wosystemroot}">
    <patternset>
   <includesfile name="${WOLipsContext.getAntFolderName()}/ant.classpaths.wo.wosystemroot"/>
</patternset>
</otherclasspath>
<lib dir=".">
<include name="Add .jar's that should be copied in the woa."/>
<exclude name="**/*.woa/**"/>
</lib>
   </woapplication>

Il giorno 27/set/2009, alle ore 21.24, Chuck Hill ha scritto:


On Sep 27, 2009, at 12:06 PM, Paolo Sommaruga wrote:

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}">

The woapplication task is more than this, it extends down to:

</woapplication>



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.



-- 
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.

 _______________________________________________
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

  • Follow-Ups:
    • Re: migrated to 3.5 with ant build problem
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: migrated to 3.5 with ant build problem
  • Next by Date: Re: migrated to 3.5 with ant build problem
  • Previous by thread: Re: migrated to 3.5 with ant build problem
  • Next by thread: Re: migrated to 3.5 with ant build problem
  • Index(es):
    • Date
    • Thread