rid of the shell
script / batch script, and just set those environment variables directly in my
Ant script (build.xml). Is this something possible with Ant?
Thanks in advance,
-Saladin
**
* Saladin Sharif
* e-mail: [EMAIL PROTECTED
better approach would be to use the copy command, like so:
This way if there are no occurances of ${lookingFor} in file ${output}, then an
empty file gets written out to ${basedir}/temp.txt
-Saladin
**********
* Saladin Sharif
* e-mail: [EM
I am using the cvs
task instead of the exec task, I am assuming that my ANT script should be
platform independent (i.e. run on both windows and unix).
Thanks for your help,
-Saladin
******
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visi
>I admit I'm not sure how "file contains one or more
>lines of text" differs from "file is not empty," so:
>
>
>
>
Good point :)
Thanks,
-Saladin
**********
* Saladin Sharif
* e-mail
ful in clearing up the confusion.
Thanks,
-Saladin
**********
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
**
- Original Message
Thanks. Not sure what are the differences between CruiseControl and Hudson,
but I am taking a look at both.
-Saladin
**
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
t the flag, so that I
could use it later on in my ANT script as a condition to check before running
certain tasks.
**********
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
*
r CVS changes in order to decide whether to
run the regression tests or not.
-Saladin
**
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sh
>You should look at CruiseControl.
>
Thanks for the suggestion. I do plan on checking it out.
******
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~s
hanks in advance,
-Saladin
**
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sh
I have a txt file and would like to get the count of the number of lines in
that file, and then store that count into a property.
I mean something equivalent to the unix command:
cat file_name.txt | wc -l
Can this be done using an existing ANT task?
Thanks,
-Saladin
___
.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.Main.runBuild(Main.java:698)
at
org.apache.tools.ant.Main.startAnt(Main.java:199)
at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at
org.apache.tools.ant
for it?
Regards,
-Saladin
--- Saladin Sharif <[EMAIL PROTECTED]> wrote:
>
> But anyway, it just occured to me and I am wondering
> whether the problem that I am having with cvstagdiff
> has anything to do with ssh waiting for the
> password.
>
> After all I am pe
yUserName;password=MyPassword;hostname=some.servername.com:/opt/cvs
So I don't understand why the cvs and the cvstagdiff
tags act differently. Why does the cvs tag work with
the password being set in the CVSROOT environment
variable, while the cvstagdiff tag doesn't???
-Saladin
--- Sala
. Ant
> did not hang in your
> case. Actually it was waiting for the password. Make
> use of private/public
> keys when using ":ext:" type of CVS server
>
**
* Saladin Sharif
* e-mail:
rdiff -s -D 09/15/2007 -D 09/24/2007 edrs
But when I execute the cvstagdiff from my ANT script
it just hangs.
Any ideas on how to get the cvstagdiff to work?
Thanks in advance,
-Saladin
**
* Saladi
16 matches
Mail list logo