• 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: Maven (was: WO 5.4 Linux Deployment)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maven (was: WO 5.4 Linux Deployment)


  • Subject: Re: Maven (was: WO 5.4 Linux Deployment)
  • From: Andrew Lindesay <email@hidden>
  • Date: Wed, 26 Mar 2008 21:03:15 +1300

That's it. If you build a .jar in this way it magically becomes a 'framework' as far as WebObjects is concerned.

Off topic, but if anybody is interested, I have also created an ant task for making those as well. It's quite nice because you can just put the info plist inline and it flattens the resource files and stuff sensibly;


<leframeworkjar jarfile="${dest.dir}/${framework.name}_${DSTAMP}$ {TSTAMP}_${build.version}.jar">

<infoplist>
<dict>
<key>NSExecutable</key>
<string>${framework.name}</string>
<key>CFBundleExecutable</key>
<string>${framework.name}</string>
<key>CFBundleIdentifier</key>
<string>nz.co.lindesay.LEWOStuff</string>
<key>CFBundleShortVersionString</key>
<string>${build.version}</string>
</dict>
</infoplist>

<manifest>
<section name="common">
<attribute name="Implementation-Version" value="$ {build.version}"/>
<attribute name="Implementation-Vendor" value="Andrew Lindesay"/>
<attribute name="Implementation-BuildTimestamp" value="${DSTAMP}${TSTAMP}"/>
</section>
</manifest>

<properties file="Resources/Properties">
<property name="nz.co.lindesay.LEBuildTimestamp" value="${DSTAMP}$ {TSTAMP}"/>
<property name="nz.co.lindesay.LEBuildVersion" value="$ {build.version}"/>
</properties>

<!-- get all of the classes as well as merging in my library. -->

<fileset dir="${classes.dir}"/>
<zipfileset src="Library/lejstuff.jar"/>

<!-- put all the standard bits and pieces into the right places. -->

<resources dir="Components" flatten="true"/>
<resources dir="Resources" flatten="true"/>
<webserverresources dir="WebServerResources" flatten="true"/>

</leframeworkjar>


___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz



_______________________________________________
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: Maven (was: WO 5.4 Linux Deployment)
      • From: Lachlan Deck <email@hidden>
References: 
 >WO 5.4 Linux Deployment (From: Aleksey Novicov <email@hidden>)
 >Re: WO 5.4 Linux Deployment (From: David Avendasora <email@hidden>)
 >Re: WO 5.4 Linux Deployment (From: Jake MacMullin <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Lachlan Deck <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Jake MacMullin <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Lachlan Deck <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Jake MacMullin <email@hidden>)

  • Prev by Date: Re: Maven (was: WO 5.4 Linux Deployment)
  • Next by Date: Re: WO 5.4 Linux Deployment
  • Previous by thread: Re: Maven (was: WO 5.4 Linux Deployment)
  • Next by thread: Re: Maven (was: WO 5.4 Linux Deployment)
  • Index(es):
    • Date
    • Thread