RE: How do you compile HTML to Java class with XMLC?

"Steve Swett" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Organization Best Computer Systems, Inc.
Message-ID <00c001c36298$1889f030$c900a8c0@Satellite2430>
OK, I see that if I use "ant xmlc" while the current directory is
"c:\Barracuda\src" that it will recompile all HTML files in the
"C:\Barracuda\src\org\enhydra\barracuda\tutorials\xmlc" folder.

The result is a class file with the org.enhydra... package name.

It doesn't want to compile the html files if they are in different
directories.  If I move my HTML to that directory, it will compile, but
it gives the long package name.

Is in the BUILD.XML file that you indicate which directories to hunt for
HTML files?

Thanks.



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jacob Kjome
Sent: Thursday, August 14, 2003 2:38 PM
To: [email protected]
Subject: Re: [Barracuda] How do you compile HTML to Java class with
XMLC?


You should really post a question like this to the XMLC list, but I'll 
answer it here anyway.  This is configurable via the command line.  If
you 
use the XMLC taskdef or Barracuda's Localize taskdef (which extends the 
XMLC taskdef), then the behavior you want will happen automatically.
Check 
out the Ant build files in the examples of XMLC-2.2RC1 release to see
how 
to use the XMLC taskdef.
http://forge.objectweb.org/projects/xmlc/

I can't quite remember all the command line parameters offhand.  I've
used 
the Ant tasks for so long that running XMLC directly on the command line

seems almost foreign to me at this point.

BTW, xmlc.enhydra.org hasn't been updated in a while.  It will be
updated 
for the XMLC-2.2 release to point to the objectweb site which is the new

home of the XMLC CVS code and all downloads.  Only the mailing list is
used 
at xmlc.enhydra.org currently.

Jake

At 02:08 PM 8/14/2003 -0400, you wrote:

>Is there anything already in the Barracuda package distribution that
can 
>be run to compile:
>
>
>
>myTest.html
>
>
>
>to
>
>
>
>myTestHTML.class
>
>
>
>
>
>& or do I just download XMLC from xmlc.enhydra.org, compile the html to

>myTest.class and then rename the class to myTestHTML.class?
>
>
>
>Thanks.
>
>

_______________________________________________
Barracuda mailing list
[email protected]
http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.