From: Simon W. <sim...@gm...> - 2005-12-10 20:07:58
|
Hi Diego, first of all, sorry for the late reply. I had rather busy two weeks. Having all as2lib stuff centralized: I personally separate Flash classes from Java classes and have two different folders for them. I also separate by project. Something like: C:/programming/as2lib C:/programming/as2ant C:/programming/debugit The classes cannot be found. This means that there is either no class named org.as2lib.ant.Mtasc in the folder specified by the classpath (lib/aslib/ant) or the folder lib/as2lib/ant does not exist starting from the basedir (the directory where the build.xml is in). If you put the as2ant classes in the C:\dev\lib\src folder you must specify this folder as classpath. (you may also use the jar in the classpath) Greetings, Simon Diego Guebel wrote: > Hi Simon, thanks for the reply, > Actually the issue is with as2lib ant. I added the ant folder with all > java stuff to my linked library that is use as common resource. > so, now at C:\dev\lib\src\org\as2lib besides aop, app, core, etc > folders I have an ant folder. > I did that to have all as2lib centralized in one folder, is this a > good idea? > > here how taskdef seem: > <taskdef name="mtasc" classname="org.as2lib.ant.Mtasc" > classpath="lib/as2lib/ant"/> > <taskdef name="swf" classname="org.as2lib.ant.Swf" > classpath="lib/as2lib/ant"/> > > this is the msg that console shows: > > Buildfile: C:\dev\mindMapping\build.xml > > BUILD FAILED > C:\dev\mindMapping\build.xml:5: taskdef class org.as2lib.ant.Mtasc > cannot be found > > Total time: 203 milliseconds > > > any clue? > thanks in advance. > Diego. > > > Simon Wacker wrote: > >> Hi Diego, >> >> if you made a linked folder directly to the src folder of the as2lib >> and put it to the classpath everything should work fine. >> Which editor are you using, ASDT or FDT? >> >> Greetings, >> Simon >> >> Diego Guebel wrote: >> >>> Hi there, >>> I was seeing Simon's example project to start introducing me into >>> the usage of this library. After a while I wanted to start a test >>> project from the scratch I was surprised after set lib folder as a >>> linked resource and trying to use from there. it didnt work. >>> In summary, if I copy across the folder it works like a charm, but >>> if I use the library as a linked folder it doesnt work, >>> any clue? >>> >>> thanks, Diego. >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>> Register for a JBoss Training Course. Free Certification Exam >>> for All Training Attendees Through End of 2005. For more info visit: >>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>> _______________________________________________ >>> As2lib-updates mailing list >>> As2...@li... >>> https://lists.sourceforge.net/lists/listinfo/as2lib-updates >>> >>> >> > > -- Simon Wacker www.simonwacker.com www.as2lib.org www.hq-heilbronn.de www.flik-flak.de |