[osflash] as2ant_2.1 with Eclipse - Error running as2api compiler.

Simon Wacker simon_wacker at gmx.de
Sat Aug 5 06:31:50 EDT 2006


as2api.exe can probably not be found. Either specify it with the 
as2api-argument or put it in the PATH environment variable (on Windows).

If this is not the case run ant in verbose mode and mail me the complete 
stack trace.


Greetings,
Simon

Skat Skat wrote:

> I have some problem using as2api.class.
> Before i have been add task "as2api" in Eclipse Ant's settings.
>  
> Here my test build.xml file
>
> <project
>
> name="As2api Ant Task - Sample" default="sample" basedir="." > 
> <property name="src.dir" location="engine"/> <property name="docs.dir" 
> location="docs"/> <target name="sample" description="generates api 
> documentation"> <as2api package="com.*" classpath="${src.dir}" 
> outputDir="${docs.dir }/api" dotExe="dot.exe" drawDiagrams= "yes" 
> sources="yes" title= "As2api Ant Task - Sample"/> </target>
>
> </project>
>
> Building i get erorr ->
>
> _Buildfile: _D:\entrance\build.xml __sample_:
>
> [
>
> _as2api_] as2api --output-dir "D:\entrance\docs\api" --classpath 
> "D:\entrance\engine" --title "As2api Ant Task - Sample" 
> --draw-diagrams --sources com.* BUILD FAILED 
> _D:\entrance\build.xml:10: Error running as2api compiler. _Total time: 
> 125 milliseconds
>
> Any ideas?
>
> _ 
>
>------------------------------------------------------------------------
>
>_______________________________________________
>osflash mailing list
>osflash at osflash.org
>http://osflash.org/mailman/listinfo/osflash_osflash.org
>  
>

-- 
Simon Wacker
www.simonwacker.com
www.as2lib.org
www.hq-heilbronn.de
www.flik-flak.de




More information about the osflash mailing list