Change config file content using maven plugin

2004-10-20 Thread Ian Neruda
I need to change config file parameters depending on targeted environment(test or production). Is there a plugin that could do something like this? Files I need to change are web.xml and my custom xml config file. Thanks, Ian. ___ Do you Yahoo!? Dec

RE: Custom Ant task parameters not read?

2004-06-03 Thread Ian Neruda
Thanks, Sigfried. How can I start ANT process from maven.xml? --- "Göschl,Siegfried" <[EMAIL PROTECTED]> wrote: > Hi Ian, > > What you could try is to start an ANT process > instead of an ANT task with Maven > > Cheers, > > Siegfried Goeschl >

Custom Ant task parameters not read?

2004-06-03 Thread Ian Neruda
Hi. In last week I managed to migrate our ant build process to ant. One last thing I need to do is code obfuscation. I'm using yguard ant task. Obfuscation works but it doesn't receive proper parameters with names of classes that must be excluded from obfuscation. Here's example:

Re: Jars without version

2004-06-02 Thread Ian Neruda
without version. Anyway I copied and renamed war as Rafal suggested. Ian --- Brill Pappin <[EMAIL PROTECTED]> wrote: > Likely I'm missing something, but *why* would you > want to leave out the > version info? > > - Brill Pappin > > Ian Neruda wrote: >

Adding custom Ant tasks inside Maven

2004-06-02 Thread Ian Neruda
Hi. I need to extend ant with custom task(obfuscation) and use that task inside Maven. I added jar in MAVEN_HOME/lib, and added that jar to classpath(in maven.bat). After that I put task definition in maven.xml: I get error message "taskdef class com.yworks.yguard.ObfuscatorTask cann

Jars without version

2004-06-02 Thread Ian Neruda
Hi. Can I install jar to repository without version part in it. When I leave version empty I get something like JarName-.jar Thanks, Ian __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --

Re: Reactor infinite loop

2004-05-28 Thread Ian Neruda
> > Am I doing something wrong? > > Yup. The reactor includes itsef in the build, which > casuses infiniter > recursion. Try adding the following attribute. > > excludes="project.xml" > > hope this helps > R. I don't have project.xml in folder projects, so I don't have anything to exclude. An

Reactor infinite loop

2004-05-28 Thread Ian Neruda
Hi! I'm trying to create reactor which would build all my projects but I get infinite loop. This is the end of maven dump when started in debug mode: final list of plugins to prepare: [] attaining goal build:start attaining goal java:compile Starting the reactor... Using userBuildPropertiesFile:

Re: CVS module name with whitespace

2004-05-28 Thread Ian Neruda
--- Brett Porter <[EMAIL PROTECTED]> wrote: > Ian Neruda wrote: > > >It works with ' > >I get the source in XML Utils dir, but maven also > >creates empty directory 'XML Utils' > > > > > ok, you might have to live with that one, sorr

Re: CVS module name with whitespace

2004-05-28 Thread Ian Neruda
ld suggest trying: > "XML Utils" > XML\ Utils > XML%20Utils > XML+Utils > 'XML Utils' > > I'm not sure if any will work but it doesn't hurt to > try :) > > Sorry about that! > > Cheers, > Brett > > Dion Gillard wrot

Re: CVS module name with whitespace

2004-05-27 Thread Ian Neruda
> > Hi! > > > > I'm trying to fetch cvs data from module that has > > whitespace in its name. Module name is XML Utils > and I > > receive error: > > > > [cvs] cvs server: cannot find module `Utils' - > ignored > > [cvs] cvs [checkout aborted]: cannot expand > modules > > > > Everything works wi

CVS module name with whitespace

2004-05-27 Thread Ian Neruda
Hi! I'm trying to fetch cvs data from module that has whitespace in its name. Module name is XML Utils and I receive error: [cvs] cvs server: cannot find module `Utils' - ignored [cvs] cvs [checkout aborted]: cannot expand modules Everything works with other modules. Can I do that or I need to

RE: CVS connection string

2004-05-25 Thread Ian Neruda
--- Heritier Arnaud <[EMAIL PROTECTED]> wrote: > you must be logged. > > before to launch maven : > > cvs -D :pserver:[EMAIL PROTECTED]:d:\cvs_repository\dir > login > Arnaud, thank you very much. I had to set cvsroot first and execute login after that. set cvsroot=:pserver:[EMAIL PROTECTED]:d

RE: CVS connection string

2004-05-25 Thread Ian Neruda
> You mustn't give your password > > scm|cvs|ntserver|[EMAIL PROTECTED]|d:\cvs_repository\dir1|module > > you must be logged and your password must be stored > in your .cvspass file > > http://maven.apache.org/reference/plugins/changelog/ > > > Arnaud Thank you for your help. I generated .cvs

Re: CVS connection string

2004-05-25 Thread Ian Neruda
> > scm|cvs|ntserver|[EMAIL PROTECTED]|e:\cvs|Deployment > > Note the use of the vertical bar as delimiter as > the > > repository has a colon (:) in it. > > - > > > > Before that I tried with pserver, but I get the > same mistake. > > The complaint comes from the fact that there a

Re: CVS connection string

2004-05-25 Thread Ian Neruda
--- Niclas Hedhman <[EMAIL PROTECTED]> wrote: > On Tuesday 25 May 2004 15:40, Ian Neruda wrote: > > Hi! > > I try to connect to cvs respository using > > > scm|cvs|ntserver|username|[EMAIL PROTECTED]|d:\cvs_repository\dir1|moduleName > >

CVS connection string

2004-05-25 Thread Ian Neruda
Hi! I try to connect to cvs respository using scm|cvs|ntserver|username|[EMAIL PROTECTED]|d:\cvs_repository\dir1|moduleName but I get the following error: java.lang.IllegalArgumentException: repository connection string contains more than six tokens Am I using wrong connection string? I'm using