Use separate property filters for the varaible in war file and the assembly files

2010-07-13 Thread bangalore

Hi,

 

The project structure:

 

|-- pom.xml

 

`-- src

 `-- main

 |-- java

 |   `-- com

 |   `-- example

 |   `-- projects

 |   `-- SampleAction.java

 |-- resources

 |   `-- assembly.xml

  `-- assemblyfilter.properties

  `-- filterwar.properties

 `-- webapp

 |-- WEB-INF

 |   `-- web.xml

 |-- index.html

 `-- sample1.html
 

The assembly.xml creates a zip file with index.html and sample1.html. The
war also contains index.html and sample1.html.
I have to apply separate filters for the zip files and the htmls in the war
files. The assembly files always get the common filter
(filterwar.properties) if it is defined; else it takes the values from
assemblyfilter.properties.
How can I apply separate filters for the files added with assembly and the
war .

 
Thanks.

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Use-separate-property-filters-for-the-varaible-in-war-file-and-the-assembly-files-tp1046593p1046593.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Use separate property filters for the varaible in war file and the assembly files.

2010-07-13 Thread Joice, Binny
Hi,

The project structure:

|-- pom.xml

`-- src
 `-- main
 |-- java
 |   `-- com
 |   `-- example
 |   `-- projects
 |   `-- SampleAction.java
 |-- resources
 |   `-- assembly.xml
  `-- assemblyfilter.properties
  `-- filterwar.properties
 `-- webapp
 |-- WEB-INF
 |   `-- web.xml
 |-- index.html
 `-- sample1.html

The assembly.xml creates a zip file with index.html and sample1.html. The war 
also contains index.html and sample1.html.

I have to apply separate filters for the zip files and the htmls in the war 
files. The assembly files always get the common filter (filterwar.properties) 
if it is defined; else it takes the values from assemblyfilter.properties.

How can I apply separate filters for the files added with assembly and the war .

Thanks.
**
 
This message may contain confidential or proprietary information intended only 
for the use of the 
addressee(s) named above or may contain information that is legally privileged. 
If you are 
not the intended addressee, or the person responsible for delivering it to the 
intended addressee, 
you are hereby notified that reading, disseminating, distributing or copying 
this message is strictly 
prohibited. If you have received this message by mistake, please immediately 
notify us by  
replying to the message and delete the original message and any copies 
immediately thereafter. 

Thank you. 
**
 
CLLD