Warbler config for WEB-INF/classes

I was just looking at Warbler for packaging up my rails app into
a .war. Very nice! One thing I’m having a little trouble with is that
I need to get things into the WEB-INF/classes directory(properties
files and the like) of my WAR. It would be great if there was a
config.java_classes in addition to config.java_libs for that kind of
thing. I had tried adding to config.includes but that doesn’t flatten
out files like java.libs does so ‘config.includes = FileList[“build/
java/classes/*”]’ turned into WEB-INF/build/java/classes. Is there
something in there that can already accomplish this?

Thanks,
-lenny


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

We’d be interested in this sort of functionality too. We have a couple
of properties files that our legacy java api (jar) uses, and it would
be nice to have a standard way of loading those - with or without
goldspike/warbler

Stefan

2007/10/11, Lenny M. [email protected]:

Thanks,
-lenny


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email


Bekk Open Source
http://boss.bekk.no


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

On 10/11/07, Lenny M. [email protected] wrote:

I was just looking at Warbler for packaging up my rails app into
a .war. Very nice! One thing I’m having a little trouble with is that
I need to get things into the WEB-INF/classes directory(properties
files and the like) of my WAR. It would be great if there was a
config.java_classes in addition to config.java_libs for that kind of
thing. I had tried adding to config.includes but that doesn’t flatten
out files like java.libs does so ‘config.includes = FileList[“build/
java/classes/*”]’ turned into WEB-INF/build/java/classes. Is there
something in there that can already accomplish this?

Thanks for the feedback, Lenny. I’ll try to add this for the next
release. The only workaround I know of at the moment would be to have
a directory called “classes” in the top level of your Rails
application that contains the classes, and and “classs” to
config.dirs.

/Nick


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs