Recently I helped a developer set up his Eclipse IDE on a Mac, and I was completely new to Mac, so it was a learning experience for us both.
Anyway, I found the easiest way to do this was of course to use an Ant build.xml, and that will allow you to create properties and tasks for both Mac and PC, meaning the developer in question will just need to specify the build target within Eclipse and none of the files will need to be altered across platforms. The build file will also allow you to use different paths depending on the development platform. (recommend O'Reilly Ant the Definitive Guide). >From the Ant docs http://ant.apache.org/manual/CoreTasks/exec.html: <quote> It is possible to specify environment variables to pass to the system command via nested <env> elements. ... path The value for a PATH like environment variable. You can use ; or : as path separators and Ant will convert it to the platform's local conventions. </end quote> As for the SWF actually loading in config, if you stick to relative paths with forward slashes that should work on Mac and PC without problems, or is there a specific case causing you troubles? Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Valentini Sent: 29 September 2005 18:38 To: [email protected] Subject: [osflash] Compiling projects in many Operational Systems (Mac andWin) Hi, I'm working with Windows and will work in projects of other developer that use Mac OS X, so all paths for config files, images etc. don't work in windows, someone have an Idea about what can I do to resolve this problem in all projects?? Thank you -- Pedro C. Valentini [EMAIL PROTECTED] +55 (21) 8708-8035 _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
