Re: Re: Barracuda in Eclipse with Barracuda update
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Organization | Springfield Nuclear Plant |
| Message-ID | <[email protected]> |
Hello Garth,
Thanks for providing instructions for building Barracuda apps in
Eclipse. Working with Barracuda in IDE's is pretty important for
acceptance of Barracuda. I have a few comments on some of the changes
you made to get this....
Changes
-------
- events.xml and build.xml
I chewed up the orginal ant build.xml file cause it was too much for my simple mind to grasp. The
condensed version has one job which I can't figure out how to make Eclipse do by itself - that is to call
org.enhydra.barracuda.taskdefs.EventBuilder building a bunch of event classes
from /src/org/enhydra/barracuda/contrib/dbroggisch/examples/controller/events/events.xml
and create classes...
There must be a way to get Eclipse to just run the current build as-is, although I've made no attempt to try this.
- /src_mockups/examples
edited FileUpload.xmlc, PrefixMapping.xmlc, and Repopulation.xmlc so that they include -ssi
and implement NavigationHTML class
They already implement the NavigationHTML and the ssi stuff, in the original build, is done via <copyrepl ssi="true">.
However, maybe the more appropriate place for the ssi stuff is in each .xmlc file? Not sure what is more reasonable?
- web.xml was edited to make it run in Websphere (servlet 2.2 spec)
I saw you created a separate copy for websphere. However, the
sample.web.xml must be left over from a previous version
because the <listener> calss for logging initialization should be org.apache.log4j.servlet.InitContextListner instead
of the Log4jApplicationWatch.
- copyed cos.jar, log4j-1.2.7a.jar to /web/WEB-INF/lib so webapp can load
without having to have copies in ${TOMCAT_HOME}/common/lib
Note that Log4j-1.2.8 just came out today. I'll be updating the build account for that sometime tonight. I will also
also probably not point to jars in Tomcat's shared classloader directories for the build to make things easier and more
portable. I already updated the contrib apps up on barracudamvc.org
to work like that.
I would be nice to get to a point where there is seamless integration
with Eclipse with few, if any, changes to the build.
Jake
Wednesday, February 19, 2003, 1:14:49 PM, you wrote:
GD> Hi all,
GD> I got Jake's packaging of Diez's Barracuda sample pages going
GD> in Eclipse (it was the missing interface thing - thanks Jake
GD> and Diez), today I updated the source to the Feb 17 release
GD> from Jake's FTP site.
GD> Folks wishing to play with this can download from:
GD> http://www.northern.ca/forums/msg.php?th=48
GD> I had to delete all the jar files to make it less then the 1MB
GD> upload limit. So you'll need to add those back from
GD> ftp://ftp.visi.com/users/hoju/pub/barracuda-pages.sample_2003-02-17.zip
GD> Jake, do you suppose we could merge in some of the changes I made
GD> the configuration/layout into your distro or cvs?
GD> Cheers,
GD> -Garth
GD> Northern.CA ===--
GD> http://www.northern.ca
GD> Canada's Search Engine
GD> _______________________________________________
GD> Barracuda mailing list
GD> [email protected]
GD> http://barracudamvc.org/lists/listinfo/barracuda
--
Best regards,
Jacob mailto:[email protected]