Re: Overriding previous definition of reference to ...

2009-07-22 Thread Stefan Bodewig
On 2009-07-22, Nestor Dutko wrote: > Trying to determine the cost of picking up ant 1.7.0, I tried this and found > now that I get the warning - > Warning: Reference ocm.jsse.classpath has not been set at runtime, but was > found during > build file parsing, attempting to resolve. Future version

RE: Overriding previous definition of reference to ...

2009-07-22 Thread Nestor Dutko
Trying to determine the cost of picking up ant 1.7.0, I tried this and found now that I get the warning - Warning: Reference ocm.jsse.classpath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined i

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
Actually, I think this solution might be more of what you want. The first solution I gave you will only tell you that there were parameters that weren't replaced, but won't tell you which parameters weren't replaced. Imagine if you had 100 parameters, and you only replaced 99 of them. It would take

Re: help to find not replaced variables

2009-07-22 Thread Scot P. Floess
Ew - thats a really nice solution :) Now to remove my foot from my mouth ;) On Wed, 22 Jul 2009, David Weintraub wrote: Ah! You want to see if the "replace" failed! Try this: ** * * * * * * ** * Files failing replace: ${files.not.replaced} * Let's take this

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
Ah! You want to see if the "replace" failed! Try this: ** * * * * * * ** * Files failing replace: ${files.not.replaced} * Let's take this apart: The ** should be the directory that contains the files with the variables being replaced. You then use the * * to fi

Re: help to find not replaced variables

2009-07-22 Thread Scot P. Floess
I know, I know I always say "script it" :) Anyway, you can definitely use beanshell to do this - meaning look far an occurence in all your files... But not sure you can include the beanshell jars in your environment? Or perhaps, write a Java class and call it from you Ant script - be about

Re: IvyDE not attaching source/java doc

2009-07-22 Thread stephenh
Nicolas Lalevée wrote: > > Then it is weird to see "Eclipse Workspace resolver" trying to > download javadocs and sources. Could open a bug in jira please. > As a work around try to disable the workspace resolver. > FWIW, I'm seeing this behavior too. Same versions. Sources aren't attached w

Re: task hanging

2009-07-22 Thread David Weintraub
This could be an OS issue. Referencing the mount could make the OS attempt to mount the NFS directory, and if NFS hangs, the task will sit there and wait. Remember too that it could take some time for the OS to determine it cannot mount a particular filesystem, so that it could be the task is wo

Re: help to find not replaced variables

2009-07-22 Thread Júlio Cesar Bueno Cotta
I can't use cygwin* 2009/7/22 Júlio Cesar Bueno Cotta > I can use cygwin..is not just in my PC..that will be used in all the > company. My boss never will let me install cygwin in all the machines. :P > > > 2009/7/22 Avlesh Singh > >> Cygwin (http://www.cygwin.com/) will make your windows machi

Re: help to find not replaced variables

2009-07-22 Thread Júlio Cesar Bueno Cotta
I can use cygwin..is not just in my PC..that will be used in all the company. My boss never will let me install cygwin in all the machines. :P 2009/7/22 Avlesh Singh > Cygwin (http://www.cygwin.com/) will make your windows machine "powerful" > :) > > > Cheers > Avlesh > > 2009/7/23 Júlio Cesar B

Re: help to find not replaced variables

2009-07-22 Thread Avlesh Singh
Cygwin (http://www.cygwin.com/) will make your windows machine "powerful" :) Cheers Avlesh 2009/7/23 Júlio Cesar Bueno Cotta > Thanks for the awnser, but it need to run in windows machines too. > I wll take a look in your tip. > > 2009/7/22 Avlesh Singh > > > You basically need to find (or gr

Re: help to find not replaced variables

2009-07-22 Thread Júlio Cesar Bueno Cotta
Thanks for the awnser, but it need to run in windows machines too. I wll take a look in your tip. 2009/7/22 Avlesh Singh > You basically need to find (or grep) all occurrences of @(.*)@ in your > files, once the replace task was performed. Right? > If yes, I can think of two solutions: > > 1.

Re: help to find not replaced variables

2009-07-22 Thread Avlesh Singh
You basically need to find (or grep) all occurrences of @(.*)@ in your files, once the replace task was performed. Right? If yes, I can think of two solutions: 1. Use a Antelope's grep task. http://antelope.tigris.org/nonav/docs/manual/bk03ch22.html 2. Call an exec task (http://ant.apache

Re: help to find not replaced variables

2009-07-22 Thread Júlio Cesar Bueno Cotta
I alread have a ant script to replace the variables..and it is working. What I need is check if all the variables are beeing replaced. I have a dev.properties where I have lines like this @v...@=test each @vari@ is replaced to "test" after I run the script. But If I forget to add the variable in

task hanging

2009-07-22 Thread Cole, Derek E
I am having a problem with some build scripts I have written that have tasks to set a property based on whether a particular mount is available on the build box. It seems like if the mount is not available for whatever reason, the build hangs at this point. Has anyone seen this behavior before?

Re: exec unix script not working for me

2009-07-22 Thread David Weintraub
On Wed, Jul 22, 2009 at 12:04 PM, Amy Davis wrote: > That was it! I use JEdit to edit my unix script file, but neglected to use > the unix line separator under utilities => buffer options. > The error messages I was getting did not lead me to the real problem. > Thanks so much! I've spent a lot of

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
You can do this with the task via the : A good example is given on this page: Look for the text "*Copy a set of files to a directory, replacing @ti...@with Foo Bar in all files." *You can also look here: http://ant.apache.org/manual/index.html

Re: exec unix script not working for me

2009-07-22 Thread Amy Davis
That was it! I use JEdit to edit my unix script file, but neglected to use the unix line separator under utilities => buffer options. The error messages I was getting did not lead me to the real problem. Thanks so much! I've spent a lot of time trying to get this to work. After making that chang

Re: Overriding previous definition of reference to ...

2009-07-22 Thread Stefan Bodewig
On 2009-07-22, Nestor Dutko wrote: > I understand that structures are not interpretted at runtime > but are parsed [in 1.6.x, this has changed in 1.7.x] > and this is where the message is coming from. Is there a way to > prevent this from occurring and yet retain the centralized > definition o

Overriding previous definition of reference to ...

2009-07-22 Thread Nestor Dutko
I have a project that contains a number of subprojects. To prevent duplication and potential skew, common properties and declarations are placed into a separate XML file (common.xml) that is re-used by the subprojects when they are build. common.xml looks like:

Re: help to find not replaced variables

2009-07-22 Thread Scot P. Floess
The replace task has a summary attribute that may be of help to you... http://ant.apache.org/manual/CoreTasks/replace.html On Wed, 22 Jul 2009, Júlio Cesar Bueno Cotta wrote: Hello there, I am new over here and I need some help. There is a script that replace variables in the files. And I a

help to find not replaced variables

2009-07-22 Thread Júlio Cesar Bueno Cotta
Hello there, I am new over here and I need some help. There is a script that replace variables in the files. And I am trying to write a ant script to find in the replaced files ( into a folder like workspace/web-inf/ ) variables witch were not replaced.. Someone can help me? Is there some task to d

FWD: Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon

2009-07-22 Thread Stefan Bodewig
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2009 (Oakland) which takes place between the 2nd and 6th November 2009. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2009 who may need some f