Hi Ralf,
I am playing around with porting a 100% Java zlib library into Flash
(jzlib). After about 15 minutes of finagling (removing static
initializers and refactoring out an inner class), I got J2AS to compile
it down to Actionscript.
Unfortunately, I haven't yet gotten the library to work, as it is built
on the java.io package and I would need to replace InputStream,
OutputStream, etc, or change the code to work directly on an
Actionscript array. ( No fault of the tool, just the fault of the
coder biting off more than he can chew ).
In any case, the tool seems to be working well !
Regards,
-Daniel
Ralf Bokelberg wrote:
Hi Adam,
being an ActionScripter, my original motivation was the lack of a full
featured ide. Some little adjustments to the code to get all of the
great JDT features seem to be much worth it.
As for the future of the project: I'm not clear about it yet. Making it
more compliant to standard Java seems to be a good route to get even
more out of the Java toolset. I'm not sure though, if we can achieve a
point, where any Java code can be deployed on the Flash plattform.
Anyway, i'm not going the implement something, nobody needs. This is
where the community comes into play. It will be interesting to see, what
people use J2AS and what they want to do it.
Cheers,
Ralf.
Adam Pasztory wrote:
Hi Ralf,
I wanted to let you know that I played around with this a little bit
today, and I worked as advertised. Very impressive!
I was wondering what your future vision is for this project. Are you
mainly trying to give AS developers an alternative syntax? Or do you
think people could actually convert existing Java projects and
libraries to AS? Are you planning to support more advanced Java
features that don't directly correlate with AS?
Also, what would be involved in making a Java --> SWF compiler?
Just curious?
cheers,
Adam
_______________________________________________
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