RE: [flexcoders] Re: AS3 codegen

2007-05-10 Thread Clint Modien
UML... but you generate both the Java and AS3 classes from the UML.

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Tuesday, May 08, 2007 9:30 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: AS3 codegen

 

from Java classes or from UML?

 

- Kevin

 

 

On May 8, 2007, at 5:29 AM, ghzeiljunior wrote:





You can use Sparx Entreprise Architect to generate AS3 classes.

 

 



Re: [flexcoders] RE: AS3 codegen

2007-05-10 Thread Kevin
I have successfully set this up to generate code (it was actually  
much easier than I thought it would be) and now I am realizing that I  
would like to modify joe's template (for example I need to use  
IValueObject instead of ValueObject).  Can I just unzip the jar and  
change the .vm file which outlines the template?  Is it as simple  
as that or do I need to recompile a bunch of code?  I have never  
worked with this plugin architecture before.


Thanks, Kevin


On May 8, 2007, at 4:16 AM, Peter Martin wrote:


We are still using this approach on our projects. To run it inside of
Eclipse is a bit of pain as you need to write an Ant script and then
configure it as a builder on your project. When you configure it you
probably want to take care of which resources trigger the build
otherwise it will running with every change.

To be honest I am not a great fan of XDoclet2 - I would rather see a
native plugin for Eclipse. A quick solution is maybe to write a plugin
for XDoclet, which does provide a plugin for Eclipse.

-Original Message-
From: Kevin [mailto:[EMAIL PROTECTED]
Sent: 07 May 2007 23:30
To: flexcoders@yahoogroups.com
Cc: Peter Martin
Subject: AS3 codegen

I noticed that this post was over a year old, but I am wondering if
the codegen plugin is still appropriate for use. We have over 50
Java objects that we would like to generate AS3 VO from for a
Cairngorm app. Can anyone advise...

http://weblogs.macromedia.com/pmartin/archives/2006/04/
xdoclet2_as3_an.cfm

Thanks, Kevin






Re: [flexcoders] Re: AS3 codegen

2007-05-08 Thread Kevin

from Java classes or from UML?

- Kevin


On May 8, 2007, at 5:29 AM, ghzeiljunior wrote:


You can use Sparx Entreprise Architect to generate AS3 classes.