Actually Troy Gardner just made a post on the OpenAMF list about a tool he made that does something along those lines :

to quote him :

'Also checked in the Java2As utility, creates stub AS classes and methods from Java equivalents. Say you have a Java Person class, and you want to create an AS 2 class of it, Java2AS will eliminate the getters and setter creation for those exposed via JavaBean accessors. Sadly it doesn't actually translate the inside of the methods, all methods or variables.'

i havent tried it yet, but anyway, the more options we have, the better everything is.

so, fingers crossed your man comes up with the source code :)

i'll make sure to put a page on the wiki about code converters and generators.

thanks,

martin

JesterXL wrote:
That'd be nice; I'm kind of sick of copying and pasting Java everytime our vo's change.

----- Original Message ----- From: "christoph atteneder [celumSOLUTIONS]" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Friday, July 22, 2005 2:18 AM
Subject: AW: [[W3-SPAM]] - Re: [osflash] ActionScript 2.0 Code Generator -E-Mail-Adresse wurde in Betreff-Zeile gefunden.


For this kind of code generation (ValueObject generation for Flash developement from Java classes)an collegue of mine wrote a little AS code generator too. I´m going to ask him for the source files if someone is interested.

cheers

Christoph

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Martin Wood
Gesendet: Donnerstag, 21. Juli 2005 18:08
An: Open Source Flash Mailing List
Betreff: [[W3-SPAM]] - Re: [osflash] ActionScript 2.0 Code Generator - E-Mail-Adresse wurde in Betreff-Zeile gefunden.


The ability to generate
code in multiple languages with one tool would be incredibly useful
for me, and I'm sure for others as well.


absolutely, especialy when dealing with remoting like situations where some objects are pretty much the same on the client and server side.

Also being able to generate ancillary files like configs for openAMF would be something id love to add as an option (a plugin for a plugin if you like :)

anyway, fantastic stuff Darron..

things like this and jswiff restore my faith in keeping up with this flash lark after having a very bumpy ride for the past few days

cant wait for the source :)

thanks

martin

_______________________________________________
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

_______________________________________________
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