Your setup looks good! How do I create folders with an ant task and what do I have to do to execute the ant task when creating a new project? I have no answers for your questions as I'm looking for these answers as well unfortunately. I name my project like Java packages. If I do a project named App for company xyz.com then I name the project com.xyz.app etc. etc. ... just an idea to keep order.
-sascha


----- Original Message ----- From: "David Fischer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 07, 2005 5:29 PM
Subject: [osflash] ASDT-Project - Best practices


Hi,
as i'm new to the FLAMES setup, i'm kinda lost in what the best pratice is
concerning a project and its treestructure/default files.
Right now , i'm doing the following:

- create new AS2-Project (e.g. myFlash)
- copy a previously written 'build.xml' to the project that contains following tasks:

'usage' :
    - default, what taks do we have

'ProjectAssets'
   -copies a folder to Workspace/myFlash/ containing :
   - Folders: src (with a MainClass.as ), lib, build
   - Files: swfmill.xml, swf.flashout, .classpath (as it's always 'src')

'SWFMILL'
   - create .swf with files in lib

'MTASC'
   - inject bytecode to .swf

'clean'
   - deletes the .swf


This kinda feels right, but there are some issues that i cant fix :

- 'build.xml' : How to bypass copying the file for every new project
- 'ProjectAssets' - setting the 'Path to swf' and 'Root (main) class' for swf.Flashout automatically

- how to use external classes like (D:\com\packages, D:\net\packages, D:\org\packages)
without the need of importing them to every project.
i tried to set the pathes via Prefs/Genereal/Workspace/Linked Resources, but
that didnt work.

Actually i'm really very intrested in the project-setup others have, to look and learn. I guess even screenshots would help getting an idea of a useful project-structure. I'm sure this might be more of a noob thing, so i'd better say sorry beforehand.

thanks
david

_______________________________________________
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

Reply via email to