|
|
Re: ant task: msg#00047
java.enhydra.xmlc
Hi Mike,
You can get barracuda-ant.jar from the WEB-INF/jars directory of
Barracuda-1.1.1 (
http://barracuda.enhydra.org/software/downloads/barracuda-1.1.1.zip
) or from CVS. You can always just build Barracuda by doing "ant jars" and it will show up in WEB-INF/jars if it doesn't already exist there.
And note that the task is called "localize" ( org.enhydra.barracuda.taskdefs.Localize ). See Barracuda's build file for example usage.
Jake
At 09:29 PM 11/15/2002 -0700, you wrote:
I found an undocumented attribute for the ant task called "sourcedir" that controls where the source is written.
Also, I hacked the ant task to optionally capitalize the classname, so that IndexHTML.java is created from index.html. I'll submit the change to the barracuda list if it works out well for me.
I still don't know where I'm supposed to pull barracuda-ant.jar from.
-- Mike
Michael Muller wrote:
Now I'm *using* the ant task, and I have another question. How do I prevent the source from going in with my html (or in a subdir of my html)?
I'd like things to be arranged like this:
basedir
+- build.xml
+- html
| +- index.html
+- generatedSource
+- com
+- foo
+- myproj
+- Index.java
I'd also like to be able to put the generated source someplace completely different, like /tmp.
Notice that I'd also like my html files to be lower case, and for xmlc (or the ant task) to capitalize the first letter as per java coding standards.
Does the ant task check to make sure that the java file is newer than the html file before it builds? Is it smart enough to check SSI files?
Is it time for me to start hacking on the ant task?
Thanks,
-- Mike
Michael Muller wrote:
To answer half of my own question, I found documentation at:
http://barracuda.enhydra.org/cvs_source/Barracuda/javadocs/
So I'm still looking for the right place from which to download the
barracuda-ant.jar file.
Thanks!
-- Mike
Michael Muller wrote:
>
> As David Li suggested, I looked in the barracuda project for the ant
> taskdef for xmlc.
>
> I downloaded the barracuda 1.1.1 jar file, and I didn't see it in there.
>
> I looked in the CVS repository, and found that it builds a barracuda-ant
> jar file, but I couldn't find that in the downloads area of the
> barracuda project.
>
> I did a google search for barracuda-ant.jar and found a copy checked
> into CVS for some other enhydra project. So now I have the task, but no
> documentation. I'll go look at the source in CVS, but is there a
> simpler way?
>
> Is there a link somewhere to the jar file and some documentation?
>
> -- Mike
>
> _______________________________________________
> XMLC mailing list
> XMLC@xxxxxxxxxxx
> http://www.enhydra.org/mailman/listinfo.cgi/xmlc
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
| |