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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to