Re: [appfuse-user] resourcs in target

2007-02-13 Thread Matt Raible
Just a warning - if you set this to false, the jdbc.properties file won't get its variables replaced from pom.xml. You'll need to hard-code variables in src/main/resources/jdbc.properties and ApplicationResources.properties if you set filtering to false. Matt On 2/13/07, ros <[EMAIL PROTECTED]>

Re: [appfuse-user] resourcs in target

2007-02-13 Thread ros
The reason is true - maven trying to parse image as it described in http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html By default it set to false. -- View this message in context: http://www.nabble.com/resourcs-in-target-tf3222545s2369.html#a8955473 Sent from the AppFu

Re: [appfuse-user] resourcs in target

2007-02-13 Thread ros
Finally, if I put PNG in a separate resource dir then it appears in target dir unchanged. My pom.xml: src/main/AAA src/main/resources ApplicationResources_zh*.properties

Re: [appfuse-user] resourcs in target

2007-02-13 Thread Matt Raible
Try changing this: src/main/resources ApplicationResources_zh*.properties ApplicationResources_de.properties ApplicationResources_fr.properties ApplicationResources_nl.pr

Re: [appfuse-user] resourcs in target

2007-02-13 Thread ros
I've commented out this plugin in pom.xml, but still the same problem. Now there is no trace of navive2ascii during mvn clean compile left: [INFO] [warpath:add-classes {execution: default}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:com

Re: [appfuse-user] resourcs in target

2007-02-13 Thread Matt Raible
The native2ascii plugin only includes certain files, so this shouldn't causing any issues (unless there's a bug in it of course): org.codehaus.mojo native2ascii-maven-plugin 1.0-beta-1-SNAPSHOT target/clas

Re: [appfuse-user] resourcs in target

2007-02-13 Thread ros
I need a copy /src/main/resources/aaa.png in /target/classes/aaa.png, buy I do not need it to modified. Source file size is 32kb and target file size is 64kb. It looks like file was parsed with something like native2ascii... Any ideas how to switch this parsing off? Matt Raible-3 wrote: > > Thi

Re: [appfuse-user] resourcs in target

2007-02-13 Thread Matt Raible
This happens because we filter this directory by default and replace the variables in jdbc.properties with values from pom.xml. To exclude certain files or patterns, you need to add an exclude: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html Matt On 2/13/07

[appfuse-user] resourcs in target

2007-02-13 Thread ros
Hi! In Appfuse 2 I've placed png image in /src/main/resources folder, (e.g. http://www.libpng.org/pub/png/img_png/rpng2-bg14-toucan.png 35kb) After mvn clean compile i've got it in /target/classes but it's size is 64kb and it's corrupted. The output is: [WARNING] Artifact junit:junit:j