Re: Properties Files

2015-08-18 Thread Ron Wheeler
es file on compile time. On Aug 18, 2015 9:56 AM, "Ron Wheeler" wrote: What are you building? What language and technology stack? What are the properties files used for - run-time? If so, where do you want them to end up when you install your app? How are you installing it? Ron O

Re: Properties Files

2015-08-18 Thread Adrien Rivard
migration of an ant project. It's java project. Presently ant gets > build properties file on compile time. > On Aug 18, 2015 9:56 AM, "Ron Wheeler" > wrote: > > > What are you building? > > What language and technology stack? > > > > What a

Re: Properties Files

2015-08-18 Thread Greg Trasuk
pile time. > On Aug 18, 2015 9:56 AM, "Ron Wheeler" > wrote: > >> What are you building? >> What language and technology stack? >> >> What are the properties files used for - run-time? If so, where do you >> want them to end up when you install yo

Re: Properties Files

2015-08-18 Thread aalok singhvi
It's a migration of an ant project. It's java project. Presently ant gets build properties file on compile time. On Aug 18, 2015 9:56 AM, "Ron Wheeler" wrote: > What are you building? > What language and technology stack? > > What are the properties files used for

Re: Properties Files

2015-08-18 Thread Ron Wheeler
What are you building? What language and technology stack? What are the properties files used for - run-time? If so, where do you want them to end up when you install your app? How are you installing it? Ron On 18/08/2015 7:02 AM, aalok singhvi wrote: Hello, I have a properties files. I

Properties Files

2015-08-18 Thread aalok singhvi
Hello, I have a properties files. I have a multi modules project with 1 parent pom and approx 19 child modules. Where should i be putting the properties files which can be consumed by all the child modules. Thanks -- Aalok Singhvi

deploy and include properties files along with parent POM

2014-11-06 Thread Justin Georgeson
Each of these properties files would just be overriding the global defaults, and only when necessary. I want those properties files to be deployed to Artifactory as secondary artifacts to the com.lgc:master POM so that no matter what subfolder/repo someone is

Classpath and Properties Files

2011-11-23 Thread Ari King
I've configured my application to search for configuration details in properties files located on the classpath. Does anyone know how to configure maven so that when "jetty:run" is executed it looks for properties files in "${user.home}/${project.artifactI

Re: Proper way to deploy properties files into WEB-INF/classes?

2010-11-24 Thread Benson Margulies
che.org/ref/3.0/maven-model/maven.html#class_resource > > Ron Gallagher > > > -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Tuesday, November 23, 2010 11:11 AM > To: users@maven.apache.org > Subject: Proper way to deploy properties files into WEB-INF

RE: Proper way to deploy properties files into WEB-INF/classes?

2010-11-24 Thread GALLAGHER, RON (ATTSI)
: users@maven.apache.org Subject: Proper way to deploy properties files into WEB-INF/classes? In my "src/main/java" tree, I have properties files that need to be deployed into WEB-INF/classes. I thought these would be copied by default, but they are not. They didn't go into "target/

Re: Proper way to deploy properties files into WEB-INF/classes?

2010-11-23 Thread Antonio Petrelli
2010/11/23 KARR, DAVID (ATTSI) : > In my "src/main/java" tree, I have properties files that need to be > deployed into WEB-INF/classes.  I thought these would be copied by > default, but they are not.  They didn't go into "target/classes" or > "WEB-INF/cl

Proper way to deploy properties files into WEB-INF/classes?

2010-11-23 Thread KARR, DAVID (ATTSI)
In my "src/main/java" tree, I have properties files that need to be deployed into WEB-INF/classes. I thought these would be copied by default, but they are not. They didn't go into "target/classes" or "WEB-INF/classes". I don't need to filter propertie

Re: Deploying properties files.

2010-11-17 Thread Kalpak Gadre
*.properties files as well as some third party *.exe files. I know that using resources plugin I'm able to copy all this stuff to my target directory. What about deploying this things from target dir to remote repository ? I couldn't find any function that allows that. Any id

Re: Deploying properties files.

2010-11-17 Thread Wendy Smoak
On Wed, Nov 17, 2010 at 8:25 PM, asdas adasads wrote: >    In my project I have a lot of *.properties files as well as some third > party *.exe files. I know that using resources plugin I'm able to copy all > this stuff to my target directory. What about deploying this things fro

Deploying properties files.

2010-11-17 Thread asdas adasads
Hi, In my project I have a lot of *.properties files as well as some third party *.exe files. I know that using resources plugin I'm able to copy all this stuff to my target directory. What about deploying this things from target dir to remote repository ? I couldn't find any fun

RE: maven-surefire-plugin: Error creating properties files for forking

2010-02-03 Thread Kevin Jervis
-surefire-plugin: Error creating properties files for forking Hi all, I am having difficulty getting the maven-surefire-plugin to execute some test cases. It seems to be having trouble generating the properties file after compiling the tests successfully, before forking to execute the tests

maven-surefire-plugin: Error creating properties files for forking

2010-02-03 Thread Kevin Jervis
efire properties files left around in this directory in the past) i.e. C:\Documents and Settings\kjervis\Local Settings\Temp. I have also tried overriding my profile defined TMP/TEMP environment variables to point to c:\Temp. Still the issue occurs. I am currently at a loss as how to proceed.

Re: Snippets in .properties files

2009-09-15 Thread nsowatsk
Hi Thanks for the note that it should work :-) No generated file means that there is no HTML generated from the APT file with the %{snippet ...} in it. Thanks Nathan On 15/09/2009 15:38, "Lukas Theussl" wrote: > > It works for me. What's your site-plugin/doxia version? What do you mean wit

Re: Snippets in .properties files

2009-09-15 Thread Lukas Theussl
It works for me. What's your site-plugin/doxia version? What do you mean with "no generated file ..."? The snippet is supposed to be included in the file. -Lukas Nathan John Sowatskey wrote: Hi all Has anyone been able to get the snippets to work in a .properties file: I have this: //STA

Snippets in .properties files

2009-09-15 Thread Nathan John Sowatskey
Hi all Has anyone been able to get the snippets to work in a .properties file: I have this: //START SNIPPET: message_examples # Exception message definitions APP-ASB-CCPN-300=An UnChecked message (1) with {0} APP-ASB-CCPN-400=A Checked message (1) with {0} APP-ASB-CCPN-500=An UnChecked message (

Enforcer plugin doesn't read external properties files

2009-06-05 Thread turbo-555
View this message in context: http://www.nabble.com/Enforcer-plugin-doesn%27t-read-external-properties-files-tp23884939p23884939.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Properties files proper location

2009-04-18 Thread David Hoffer
My take on this is that there is no 'standard' by the book so-to-speak maven way of doing this. The standard thing in maven is to create one artifact per project so its standard to include files, etc in jar but not to externalize them. But that doesn't solve your problem. However, like you sugge

Re: Properties files proper location

2009-04-18 Thread Stevo Slavić
Hello Markos, Maybe you could place fail-safe-params.properties with default settings within jar, thus within src/main/resources, and support them to be overridden by user using external params.properties file. Regards, Stevo. On Sat, Apr 18, 2009 at 2:52 PM, Markos Fragkakis < markos.fragka...@

Re: Properties files proper location

2009-04-18 Thread Markos Fragkakis
Markos Fragkakis wrote: Hi, I am having some problems that I expected to be common, however I could not find a solution online for either. I want create a maven project for a swing application. My IDE is Eclipse. In order to run, the application needs to read a a couple of text configuratio

Properties files proper location

2009-04-14 Thread Markos Fragkakis
Hi, I am having some problems that I expected to be common, however I could not find a solution online for either. I want create a maven project for a swing application. My IDE is Eclipse. In order to run, the application needs to read a a couple of text configuration files, which are loc

Can maven import some properties files outside the project?

2008-10-20 Thread sean.chen(陈思淼)
Maven can define some resource properties in the head section using the properties Tag just like this: > > > 1.0.2 > tc-refund-domain > I have define the configs in a my.properties file, how can I import this config file and use it in the build process?

Re: excluding some .properties files

2008-08-21 Thread wessie
not be found.Upon checking the war I > realized it the war plugin didn't include it in the war. So maven gurus , > what am I missing here? > > > > > > > -- > > "Don't take the name of root in vain." > > Jeff Mutonho > Cape Town

Re: excluding some .properties files

2008-08-08 Thread Jeff Mutonho
On Thu, Jul 31, 2008 at 10:15 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > > On Thu, Jul 31, 2008 at 10:04 AM, Stephen Connolly < > [EMAIL PROTECTED]> wrote: > >> Have you tried using maven's default project layout? >> >> > Nope , but I've finally got it working.It seems just listing the files

Re: excluding some .properties files

2008-07-31 Thread Jeff Mutonho
On Thu, Jul 31, 2008 at 10:04 AM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > Have you tried using maven's default project layout? > > Nope , but I've finally got it working.It seems just listing the files (as shown below)I wish to excludes in successive tags DOESN'T work : sr

Re: excluding some .properties files

2008-07-31 Thread Stephen Connolly
Have you tried using maven's default project layout? On Thu, Jul 31, 2008 at 7:47 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > I've also tried this : > > > > src > > **/*.java > log4j.properties > manager.properties > > >messages

Re: excluding some .properties files

2008-07-30 Thread Jeff Mutonho
I've also tried this : src **/*.java log4j.properties manager.properties messages_en.properties but still without any success. -- "Don't take the name of root in vain." Jeff Mutonho Cape Town South Afric

excluding some .properties files

2008-07-30 Thread Jeff Mutonho
e two properties files log4j.properties and manager.properties from my final WAR file's WEB-INF/classes directory, but when I do the build ,these 2 properties files keep appearing in my WAR file WEB-INF/classes directory.My pom has the following configuration : org.apache.maven.plugins

Re: Loading different properties files

2008-07-17 Thread Martin Höller
Hi! On Wednesday 16 July 2008 rundmsef wrote: > I have used Mavens filtering mechanism to substitute test vs. > production properties in my packaged web application with no problem. > However, I would like to be able to not only substitute values within the > properties fil

Loading different properties files

2008-07-16 Thread rundmsef
I have used Mavens filtering mechanism to substitute test vs. production properties in my packaged web application with no problem. However, I would like to be able to not only substitute values within the properties files, but also substitute different versions of the properties files

Re: Properties files exclude from jar artifact

2007-11-12 Thread Saloucious
Sure assembly will unpack properites in conf dir. But in my assembly, i would like to define a dependency to this module So finally, i will have my jar artifact with my properties files embded (for eg in a "lib" dir) and my properties files in "conf" dir (double) Wayne

Re: Properties files exclude from jar artifact

2007-11-09 Thread Wayne Fay
Use dependencies plugin to unpack the properties files into your current module so they will be packaged by assembly into the conf dir you require. Wayne On 11/9/07, Saloucious <[EMAIL PROTECTED]> wrote: > > So if i package properties file into my jars, how can I create finally a

Re: Properties files exclude from jar artifact

2007-11-09 Thread Saloucious
tifact and properties artifact >> >> and in a module2, i declare a dependency with module1 >> Is Maven able to retrieve 2 artifacts (for example with a >> ALL> >> >> mygroup >> module1 >> >> >> Otherwise i must declare 2 dependencies

Re: Properties files exclude from jar artifact

2007-11-06 Thread Wayne Fay
ith jar artifact and properties artifact > > and in a module2, i declare a dependency with module1 > Is Maven able to retrieve 2 artifacts (for example with a > ALL > > mygroup > module1 > > > Otherwise i must declare 2 dependencies by module, one for binaries

Re: Properties files exclude from jar artifact

2007-11-06 Thread Saloucious
module1 Otherwise i must declare 2 dependencies by module, one for binaries files and one for properties files... Wayne Fay wrote: > > You could make another artifact (jar) that consists only of properties > files that are jar'ed together and deploy it into your repo. > >

Re: Properties files exclude from jar artifact

2007-10-26 Thread Wayne Fay
You could make another artifact (jar) that consists only of properties files that are jar'ed together and deploy it into your repo. Wayne On 10/26/07, Saloucious <[EMAIL PROTECTED]> wrote: > > Hi, > > Acutally, i'm working on a migration from Ant to Maven. > The

Properties files exclude from jar artifact

2007-10-26 Thread Saloucious
Hi, Acutally, i'm working on a migration from Ant to Maven. The old Ant script creates for each project a jar and copy properties files in a deploy dir. So these properties file are not embeded in jar. Now i'm on Maven, If I excludes files from jar, they will not be in reposito

Re: Properties files in a WAR artifact...

2007-05-22 Thread Nelz
This allows me to activate databases based on a command line switch (I know you don't like this approach). Your class files are probably loading them from some properties files. That properties files can be then included in your WAR or JAR and loaded from the classpath. In the

Re: Properties files in a WAR artifact...

2007-05-18 Thread Alexander Sack
properties files. That properties files can be then included in your WAR or JAR and loaded from the classpath. In the example above, I have a sub project that builds a EJB3 jar. I use the resource substitution via my pom.xml like: src/main/resources true

Properties files in a WAR artifact...

2007-05-18 Thread Nelz
Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files.

Build time resolution of properties files

2007-05-17 Thread Ian Petzer
time. At the moment, I've figured out another way where I use the ant runner to copy the desired properties file into src/main/resources. Is there a better way for me to do this. ps: The properties files all have the same name, but thats necessary as the application picking them up has this

Re: properties-files

2007-02-23 Thread Marcos Silva Pereira
It seems this will solve my problem if I find a way to pass the properties to a schemaexport-task run from the antrun-plugin. It is a quite simple: You could pass properties to ant target using ant's property task

Re: properties-files

2007-02-23 Thread Erik Drolshammer
Wayne Fay wrote: You are looking for Profiles in conjunction with Resource Filtering. Thanks for the tip. It seems this will solve my problem if I find a way to pass the properties to a schemaexport-task run from the antrun-plugin. -- Regards Erik ---

Re: properties-files

2007-02-19 Thread Wayne Fay
You are looking for Profiles in conjunction with Resource Filtering. Wayne On 2/19/07, Erik Drolshammer <[EMAIL PROTECTED]> wrote: Hi! I have a Maven-based project which utilize a couple of properties-files like hibernate.properties and log4j.properties. Because these are often modified

properties-files

2007-02-19 Thread Erik Drolshammer
Hi! I have a Maven-based project which utilize a couple of properties-files like hibernate.properties and log4j.properties. Because these are often modified by the individual developer we have chosen to place hibernate.properties.tmpl and log4j.properties.tmpl under versioncontrol. The

Re: Replacing artifact names/versions in properties files

2006-11-30 Thread Valerio Schiavoni
Hi Stefano, i think that with a smart use of profiles and filterings, you should be able to achieve what you need, no need of special plugins. my 2¢ ciao, valerio On 11/30/06, Stefano Fornari <[EMAIL PROTECTED]> wrote: 1. I have a project with a number of dependencies 2. I have a properties f

Replacing artifact names/versions in properties files

2006-11-30 Thread Stefano Fornari
Hi All, I would like to be able to do the following: 1. I have a project with a number of dependencies 2. I have a properties file in the project source wich should use some names and versions of a subset of the artifacts from the dependencies 3. I would like that when I package the project, the

Re: How to native properties files with maven2

2006-11-01 Thread mraible
y to process your properties files with native2ascii is to add Ant's > native2ascii goal to the Maven's compilation phase. > Here you could find how to do it (unfortunately only the version cached by > Google works): > http://216.239.59.104/search?q=cache:kJFwr1QUsy

RE: How to load properties files inside plugins for maven v 2.0.4

2006-09-05 Thread Yadavalli, Phani
properties files inside plugins Hi, I have a file called env.properties embedded within the plug-in jar file. When I run the files outside the context of a plug-in, they run fine. But when I try to call the plug-in from another pom.xml I get the following problem [EMAIL PROTECTED] <mailto:[EM

RE: How to load properties files inside plugins

2006-09-05 Thread Yadavalli, Phani
The maven version is 2.0.4 Thank you, Phani Yadavalli -Original Message- From: Yadavalli, Phani [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:45 AM To: users@maven.apache.org Subject: How to load properties files inside plugins Hi, I have a file called

How to load properties files inside plugins

2006-09-05 Thread Yadavalli, Phani
Hi, I have a file called env.properties embedded within the plug-in jar file. When I run the files outside the context of a plug-in, they run fine. But when I try to call the plug-in from another pom.xml I get the following problem [EMAIL PROTECTED] file not found hen

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
es block entirely. > Yeah, I did that, actually; however, the maven testrunner still can't find the file at runtime. -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664514 S

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
artin -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664893 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECT

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
till can't find the file at runtime. -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664514 Sent from the Maven - Users forum at Nabble.com. - To

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Any ideas? Martin src/test/resources *.* false src/test/java **/*.dataset.xml false -- View this message in context:

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
Oooppps, I misspoke...you have overridden the default test resources directory, but I don't think you've done so correctly. On 6/1/06, Doug Douglass <[EMAIL PROTECTED]> wrote: On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: > > TestDBSetup.properties lives in src/main/test/resources. > >

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: TestDBSetup.properties lives in src/main/test/resources. Martin, I think your problem is that the above path is not the default test resources location, and it appears you have not overridden this in your POM. The default test resources di

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Edelson, Justin
AM To: users@maven.apache.org Subject: Referencing .properties files in the CLASSPATH in test Hi guys, I have some unit tests that do things like this: InputStream stream = ClassLoader.getSystemResourceAsStream("TestDBSetup.properties"); assertNotNull("Could not load TestDBSetup.

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Kieran Brady
ect: Referencing .properties files in the CLASSPATH in test Hi guys, I have some unit tests that do things like this: InputStream stream = ClassLoader.getSystemResourceAsStream("TestDBSetup.properties"); assertNotNull("Could not load TestDBSetup.properties from classpath", st

Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
directory-naming naming-java 0.8 test Any help greatly appreciated! Martin -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4663313 Se

Re: How to native properties files with maven2

2006-05-28 Thread ΰ
ore [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Fri May 26 11:04:18 GMT+08:00 2006 [INFO] Final Memory: 3M/6M [INFO] Jakub Pawlowicz wrote: Hi, One way to process your properties files with nat

Re: How to native properties files with maven2

2006-05-26 Thread Jakub Pawlowicz
g.apache.tools.ant.Target.performTasks(Target.java:369)at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) >... 21 more [INFO] --- > - [INFO] Total time: 3 seconds > [INFO] Finished at: Fri May 2

Re: How to native properties files with maven2

2006-05-26 Thread ΰ
/6M [INFO] Jakub Pawlowicz <[EMAIL PROTECTED]> wrote: Hi, One way to process your properties files with native2ascii is to add Ant's native2ascii goal to the Maven's compilation phase. Here you coul

Re: How to native properties files with maven2

2006-05-25 Thread Jakub Pawlowicz
Hi, One way to process your properties files with native2ascii is to add Ant's native2ascii goal to the Maven's compilation phase. Here you could find how to do it (unfortunately only the version cached by Google works): http://216.239.59.104/search?q=cache:kJFwr1QUsy4J:www.jrolle

Re: How to native properties files with maven2

2006-05-25 Thread chang wei
Thanks, shen kai. I have tried maven-resources-plugin, but nothing happened. I create a web project with mvn. And the project's structure looks like the following: my-app |-- pom.xml `-- src |-- main | |-- webapp | | `-- WEB-INFO | `-- resources | `-- META-INF

Re: How to native properties files with maven2

2006-05-25 Thread shen kai
yes of course , you can use maven-resources-plugin and set a property like this utf-8 in your plugin config block. On 5/25/06, chang wei <[EMAIL PROTECTED]> wrote: I can not find any solution to native the properties files. Is there any manve2 plugin to do this? Would you please giv

How to native properties files with maven2

2006-05-25 Thread chang wei
I can not find any solution to native the properties files. Is there any manve2 plugin to do this? Would you please give me a example? Thanks.

Re: Looking for a better way to copy properties files from an external module?

2006-03-25 Thread Paul Li
hi, I am not sure if I undtand you correctly, so please excuse me if i gave you the wrong approach here... maybe you could add an ant task in your web pom.xml that copies these files to the web's resources directory. And remove the resources stuff from below. Then when you run mvn eclipse:eclips

Looking for a better way to copy properties files from an external module?

2006-03-23 Thread Lucie Chan
Looking for a better solution My web application relies on a database laye (which is packaged and installed as a *.jar file and made available to the web layer at runtime). In order to copy some of the property files (such as jdbc.properties, hibernate.cfg.xml, etc) from database layer's

Re: properties files

2006-02-07 Thread John Casey
e the resources directory to store properties files, but to ease our platform build changes, I'd like to leave properties files in the java source directory. It looks like the jar plugin moves xml files over. Is there a way to force properties files as well? Than

properties files

2006-02-07 Thread Kevin Galligan
I know that we should use the resources directory to store properties files, but to ease our platform build changes, I'd like to leave properties files in the java source directory. It looks like the jar plugin moves xml files over. Is there a way to force properties files as well? T

RE : RE : What is the proper way to handle properties files based on the environment you are building for?

2005-12-09 Thread Olivier Lamy
Maven Users List Objet : RE: RE : What is the proper way to handle properties files based on the environment you are building for? Where are profiles defined? I don't remember seeing that on the website. Thanks... Frank Russo Senior Developer FX Alliance, LLC > -Original Messag

Re: RE : What is the proper way to handle properties files based on the environment you are building for?

2005-12-09 Thread ir. ing. Jan Dockx
ginal Message- From: Olivier Lamy [mailto:[EMAIL PROTECTED] Sent: Friday, December 09, 2005 3:47 PM To: 'Maven Users List' Subject: RE : What is the proper way to handle properties files based on the environment you are building for? Use differents profiles (with differents resources de

RE: RE : What is the proper way to handle properties files based on the environment you are building for?

2005-12-09 Thread Frank Russo
' > Subject: RE : What is the proper way to handle properties > files based on the environment you are building for? > > > Use differents profiles (with differents resources > definitions). The default can be the dev one. Then use mvn -P > prod package to build the

RE : What is the proper way to handle properties files based on the environment you are building for?

2005-12-09 Thread Olivier Lamy
users@maven.apache.org Objet : What is the proper way to handle properties files based on the environment you are building for? I'm building a webapp. Our webapp depends on some environment specific variables that are defined in a group of properties files. Depending on the environment I want to buil

What is the proper way to handle properties files based on the environment you are building for?

2005-12-09 Thread Frank Russo
I'm building a webapp. Our webapp depends on some environment specific variables that are defined in a group of properties files. Depending on the environment I want to build for, i.e., dev, qa, prod, I build the war as follows: mvn -Denv=ENV_VAR clean package. Our package structure fo

Re: [m2] Adding .properties files to the wars that i build

2005-12-05 Thread Doug Douglass
uld declare the following in your POM: {$basedir}/src/main/resources HTH, Doug [EMAIL PROTECTED] wrote: Hi I am trying to add *.properties files that reside in the java package structure of my project to the war's that I build. ex. java spring controller classes = com/fun

[m2] Adding .properties files to the wars that i build

2005-12-05 Thread [EMAIL PROTECTED]
Hi I am trying to add *.properties files that reside in the java package structure of my project to the war's that I build. ex. java spring controller classes = com/fundamo/accountUser/web/controller resources (properties files) = com/fundamo/accountUser/web/resources I trie

Re: [m2] Properties files

2005-11-25 Thread Edwin Punzalan
erties element. Oscar Picasso wrote: Hi, In m1 we could use user specific properties in the pom and these properties could be read from some properties files. What is the similar functionality in m2? Here is what I have found that is somewhat related - you can user -Dsome.property=some.value

Re: [m2] Properties files

2005-11-25 Thread Oles
erties could be read from some properties files. What is the similar functionality in m2? Here is what I have found that is somewhat related - you can user -Dsome.property=some.value => It doesn't use a file. - setting.xml for user specification configuration => you cannot use it

Re: [m2] Properties files

2005-11-25 Thread Edwin Punzalan
e user specific properties in the pom and these properties could be read from some properties files. What is the similar functionality in m2? Here is what I have found that is somewhat related - you can user -Dsome.property=some.value => It doesn't use a file. - setting.xml for user

RE: [m2] Properties files

2005-11-24 Thread Oscar Picasso
re Engineer (519) 880-2400 ext 2765 www.sandvine.com -Original Message- From: mvdp [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 2:25 PM To: Maven Users List Subject: RE: [m2] Properties files Hi Oscar, I faced the same problem. I "solved" it by using a profile wich has

RE: [m2] Properties files

2005-11-24 Thread Mike Lantink
PROTECTED] Sent: Thursday, November 24, 2005 2:25 PM To: Maven Users List Subject: RE: [m2] Properties files Hi Oscar, I faced the same problem. I "solved" it by using a profile wich has properties with valus to be configured by the developer in settings.xml. See http://maven.apache.

RE: [m2] Properties files

2005-11-24 Thread Oscar Picasso
Thanks for the suggestion. I still think that there is a lack of properties files specific to a project. Or at least I don't know the equivalent in m2. Using profiles in settings.xml works fine but in my opinion settings.xml should be used for settings that could be potentially s

RE: [m2] Properties files

2005-11-24 Thread mvdp
se is not working yet. Martin -Oorspronkelijk bericht- Van: Oscar Picasso [mailto:[EMAIL PROTECTED] Verzonden: donderdag 24 november 2005 17:44 Aan: users@maven.apache.org Onderwerp: [m2] Properties files Hi, In m1 we could use user specific properties in the pom and these properties cou

[m2] Properties files

2005-11-24 Thread Oscar Picasso
Hi, In m1 we could use user specific properties in the pom and these properties could be read from some properties files. What is the similar functionality in m2? Here is what I have found that is somewhat related - you can user -Dsome.property=some.value => It doesn't us

Re: [m2] Updating *.properties files according to environment

2005-11-06 Thread Brett Porter
html > > > > Cheers, > > > > Vincent > > > > > -Original Message- > > > From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, November 03, 2005 6:38 AM > > > To: Maven Users List > > > Subject: [m2] U

Re: [m2] Updating *.properties files according to environment

2005-11-04 Thread Samuel Le Berrigaud
--- > > From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 03, 2005 6:38 AM > > To: Maven Users List > > Subject: [m2] Updating *.properties files according to environment > > > > Hi, > > > > here is what I would like to

RE: [m2] Updating *.properties files according to environment - How I do It

2005-11-03 Thread Tony Steele
Subject: [m2] Updating *.properties files according to environment Hi, here is what I would like to do. I have some properties files for which values depends on the environement (development, test, live...) or per developer. Here is a basic example: [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL

RE: [m2] Updating *.properties files according to environment

2005-11-03 Thread Vincent Siveton
> -Original Message- > From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 03, 2005 6:38 AM > To: Maven Users List > Subject: [m2] Updating *.properties files according to environment > > Hi, > > here is what I would like to do. I have some p

[m2] Updating *.properties files according to environment

2005-11-03 Thread Samuel Le Berrigaud
Hi, here is what I would like to do. I have some properties files for which values depends on the environement (development, test, live...) or per developer. Here is a basic example: [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ What I would like is that

Re: [m2] i18n .properties files in war

2005-07-13 Thread Dennis Geurts
, since it was carrying out > the webapp resources copy operation. The 'resources' mentioned here then > do not include *.properties files - I wish it had been clearer. It may > save future maven users a bit of pain by changing that 'resources' to > something more explicit

Re: [m2] i18n .properties files in war

2005-07-13 Thread Adam Hardy
a/projects/garg-web/target/garg-web Hence the reason I thought my pom was wrong, since it was carrying out the webapp resources copy operation. The 'resources' mentioned here then do not include *.properties files - I wish it had been clearer. It may save future maven users a bit of p

Re: [m2] i18n .properties files in war

2005-07-13 Thread Dennis Geurts
Hi Adam, what's the command you supply ?? 'm2 war:war' or 'm2 package' (it should be the latter) this might be a stupid question, but is the ' ApplicationResources.properties' file located at the 'src/main/resources' location in yout project ? Dennis On 7/13/05, Adam Hardy <[EMAIL PROTECTED

[m2] i18n .properties files in war

2005-07-13 Thread Adam Hardy
I have exhausted the mailing list archives and the documentation on the website and I cannot see why my .properties file is not being included in my war, since my pom.xml appears to be correct. The file is not copied into the target directory nor is it included in the war file. I see from the

Re: Getting maven to read additional properties files

2005-04-08 Thread Jamie Bisotti
Where should this line go? Jamie >Doesn't the task work? >On Wed, 19 Jan 2005 12:59:25 -0800, Todd Huss <[EMAIL PROTECTED]> wrote: >> I keep my database properties separate in a database.properties file. This >> works fine with hibernate because in project.properties I can do: >> >> # Databas

  1   2   >