logo       

Re: Problems when compiling HTML files: msg#00067

java.enhydra.xmlc

Subject: Re: Problems when compiling HTML files

At 10:38 AM 9/15/2003 +0200, you wrote:
1.)
If I specify the compiler option "-g:none" (generate no debugging info) the
following exception is thrown:
[localize] Error: Invalid option "-g:none" in D:\xmlc\options.xmlc, valid
options are:

I think the valid syntax here would be "-g none", not "-g:none". And note that the <xmlc> taskdef doesn't compile by default. In fact, it is not even recommended that you set it to compile from within the <xmlc> taskdef. Use the <javac> taskdef to do compilation of generated files.

Also, I see you are using Barracuda's <localize> task. Note that as of latest CVS (post-1.2.5 release), no compilation is done by default (to be consistent with the <xmlc> taskdef) where it was before. If you are going to use the <localize> task post-1.2.5 release, then you should compile the generated source using the <javac> task. This is also true for the <events> taskdef.


Jake

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise