You'll probably want to use the filtering capabilities of the Maven WAR plugin: http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
You should be able to configure it in your <build> tags within the profiles, though I haven't tried it. Also, Maven2 != Java. That would be like me saying that Ruby sucks because I tried to use one program and had issues with it. This list is also for helping people use CAS, configure it, deploy it, and troubleshoot their problems. We're happy to help anyone (including Ruby developers, we don't discriminate), but nothing constructive comes from incorrectly bashing a language. It detracts from your original questions and requests for help, and may actually discourage people from assisting. You're also not required to use Maven if you don't want. You can retrieve the appropriate files yourself and construct the WAR file. Thanks -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Sat, Sep 13, 2008 at 10:41 PM, Michael Johnston <[EMAIL PROTECTED]>wrote: > My previous question, asked more succinctly: > > How can I bundle one of several cas.properties files based on maven > profile? > > For example, if I do this: > > <profiles> > <profile> > <id>development</id> > <properties> > <environment>development</environment> > </properties> > <build> > <resources> > <resource> > <directory>src/main/resources/development</directory> > </resource> > </resources> > </build> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > </profile> > > > my custom cas.properties (which is in src/main/resources/development) > gets put in WEB-INF/classes instead of WEB-INF. The original > cas.properties from the cas-server project gets put in the root of WEB- > INF. > > How do I get maven to put cas.properties in the root of WEB-INF? > > Maven is a very powerful reminder to me of why I am an enterprise > RubyOnRails developer and not an enterprise java developer. > > Cheerio, > > Michael Johnston > [EMAIL PROTECTED] > > > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
