From: brett l. <wak...@gm...> - 2010-01-29 01:00:24
|
The tiles directory is specifically for the images of hex tiles. Let's create a new path for the logos. Calling it either 'images' or 'logos' is fine by me. The correct location for the jarbundler is in the same lib directories as the Log4j and Batik libraries. It looks like you did that correctly. ---Brett. On Thu, Jan 28, 2010 at 4:21 PM, Freek Dijkstra <sf_...@ma...> wrote: > Freek Dijkstra wrote: > >> It is possible to build this Mac automatically (even on Linux or >> Windows), I'll post the patch for build.xml in a separate mail. > > See attachement. > > In addition, these new files should be installed: > tiles/logo.icns > tiles/logo.png > Also, see attachment. > > And finally: > lib/jarbundler-2.1.0 > Which can be downloaded from http://informagen.com/JarBundler/ > > I did not know what correct locations for each of these files are. Feel > free to change the location. I picked: > tiles/ for program icons (not quite right, I know) > lib/ for compile-time libraries (also not quite right) > MacRails-${version}/ for the resulting application (pick something) > > Regards, > Freek > > ? lib/jarbundler-2.1.0 > ? tiles/logo.icns > ? tiles/logo.png > Index: build.xml > =================================================================== > RCS file: /cvsroot/rails/18xx/build.xml,v > retrieving revision 1.8 > diff -r1.8 build.xml > 12a13,15 >> <taskdef name="jarbundler" >> classpath="lib/jarbundler-2.1.0/jarbundler-2.1.0.jar" >> classname="net.sourceforge.jarbundler.JarBundler" /> > 43c46,60 > < <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"> > --- >> <target depends="build-release" name="build-mac"> >> <mkdir dir="MacRails-${version}" /> >> <jarbundler dir="MacRails-${version}" >> name="Rails" >> mainclass="rails.util.RunGame" >> icon="tiles/logo.icns" >> version="${version}"> >> <jarfileset dir="rails-${version}"> >> <include name="rails-${version}.jar"/> >> <include name="lib/**"/> >> </jarfileset> >> <javaproperty name="apple.laf.useScreenMenuBar" value="true"/> >> </jarbundler> >> </target> >> <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"> > 101c118 > < <target name="RunGame"> > --- >> <target name="RunGame"> > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |