There are also other ways:
* set setuid bit on executable you want to execute under different
credentials;
* execute ssh [EMAIL PROTECTED] and copy authorized keys from your account
into that user account - in that case ssh will not ask for a password.
- Alexey.
Colin Harris wrote:
Is that really the only way. I find it hard to believe that there is no
other way to achieve this.
Unfortunetely it is not possible for me to configure sudo to allow me to run
commands without entering the password.
col.
- Original Message -
From: "Anderson, Rob (Global Trade)" <[EMAIL
cal.dist}
[echo] CopyBRBuildArtifacts FTSTAMP: ${FTSTAMP}
prepare:
[mkdir] Created dir: D:\br_builds\testlabel-20041103-1612
[mkdir] Created dir:
D:\br_builds\testlabel-20041103-1612\brtestlabel-20041103-1612
[echo] Prepare local.dist:
d:\br_builds\testlabel-20041103-1612\brt
>
> As per ANT output:
>
> CopyBRBuildArtifacts:
>
> [echo] CopyBRBuildArtifacts local.dist: ${local.dist}
>
> [echo] CopyBRBuildArtifacts FTSTAMP: ${FTSTAMP}
>
> prepare:
>
> [mkdir] Created dir: D:\br_builds\testlabel-20041103-1612
>
>
I think you execute the targets in the opposite order. Please add
dependency on "prepare" in CopyBRBuildArtifacts target.
- Alexey.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It is incorrect. Properties exist only within a scope of the current
project (, , and others create new subprojects).
- Alexey.
Kris Read wrote:
Properties only exist within the scope of the parent tag (in this case
in the target you declared it in). You have to explicitly pass it to
a new targe
t;
> CopyBRBuildArtifacts:
>
> [echo] CopyBRBuildArtifacts local.dist: ${local.dist}
>
> [echo] CopyBRBuildArtifacts FTSTAMP: ${FTSTAMP}
>
> prepare:
>
> [mkdir] Created dir: D:\br_builds\testlabel-20041103-1612
>
> [mkdir] Created dir:
>
> From: Alison Monteith [mailto:[EMAIL PROTECTED]
> As I said earlier, this works quite well for me, but some of the
> developers are complaining about the error message when they try to
> build on the HEAD branch. Is there any way around this? Ie.
something
> equivalent to if [ ! -d CVS/Tag ] ?
Hi Dominique,
As I said earlier, this works quite well for me, but some of the
developers are complaining about the error message when they try to
build on the HEAD branch. Is there any way around this? Ie. something
equivalent to if [ ! -d CVS/Tag ] ? I've been searching the ant manual
and can
[echo] CopyBRBuildArtifacts local.dist: ${local.dist}
[echo] CopyBRBuildArtifacts FTSTAMP: ${FTSTAMP}
prepare:
[mkdir] Created dir: D:\br_builds\testlabel-20041103-1612
[mkdir] Created dir:
D:\br_builds\testlabel-20041103-1612\brtestlabel-20041103-1612
[echo] Prepare local
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Prior to using ant, our code base was written to use a
> TestSuite(xxx.class)
> And we ran them via a script like so:
> java junit.textui.TestRunner classname
> Can I still use these with ant? or do I need to rewrite the tests?
I'm not entirely s
Faist, Jeff would like to recall the message, "".
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Should I create the above structure before I compile? and
> then put the compile there. I am trying to come up with a
> workflow and could use a hand from someone who has possibly
> been through this:
That's what works for me, though I do one a
I have got some textbook example of working with simple classes that implement
TestCase. But my question is as follows:
Prior to using ant, our code base was written to use a TestSuite(xxx.class)
And we ran them via a script like so:
java junit.textui.TestRunner classname
Can I still use thes
--- D Sledge <[EMAIL PROTECTED]> wrote:
> Found the culprit! Don't use the "dir" and "file"
> attributes simultaneously in the
> element.
>
>
>
> Change it to:
>
>
>
Actually,
would have been the correct way historically, but the
file attribute was added fairly recently to sim
--- [EMAIL PROTECTED] wrote:
> It turns out there was a OS bundled version of ant.
> I removed it and my
> diagnostics test is correct now. My error is
> sourcejammer related now I
> believe.
>
> this is the output from the diagnostics now and the
> attempted ant task.
If you are now at least
It turns out there was a OS bundled version of ant. I removed it and my
diagnostics test is correct now. My error is sourcejammer related now I
believe.
this is the output from the diagnostics now and the attempted ant task.
[EMAIL PROTECTED] sourcejammer]$ ant -diagnostics
--- Ant diagnost
I installed ant myself.
the version was 1.6.2 but when I run diagnostics, I get the following
version output:
[EMAIL PROTECTED] sourcejammer]$ ant -diagnostics
--- Ant diagnostics report ---
Apache Ant version 1.5.2-20 compiled on September 25 2003
[EMAIL PROTECTED] sourcejammer]$ which
--- [EMAIL PROTECTED] wrote:
> The only way I was able to get ant to stop
> complaining about those missing
> classes was to place the fully qualified name
> (including the jar file
> name) in the $CLASSPATH.
Then there is something abnormal going on, especially
given that the CLASSPATH you show
This is exactly what I need. Thanks!
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 6:48 PM
To: Ant Users List
Subject: RE: getting tag from CVS for use in Ant
This is how I extract a CVS branch sticky tag. If you use the HEAD
bra
The only way I was able to get ant to stop complaining about those missing
classes was to place the fully qualified name (including the jar file
name) in the $CLASSPATH. Once I did that, I get the following error which
states that com.sun.net.ssl.internal.ssl.Provider is not found. This class
i
--- [EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] sourcejammer]$ echo $JAVA_HOME
> /java/bin
Here is one problem. If you want Ant to pick up
/java/bin/java as its Java executable, JAVA_HOME is
/java.
> [EMAIL PROTECTED] sourcejammer]$ echo $ANT_HOME
> /usr/local/ant
Not sure why this didn't show
See my comments below...
-Rob A
> -Original Message-
> From: Bhadra, Jatin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 03, 2004 5:21 AM
> To: '[EMAIL PROTECTED]'
> Subject: Infrastructure Configuration Management
>
>
> All,
>
> This email might be off topic as it is not
I blew away the $CLASSPATH settings and got an error because some of the
jar files I needed were in there. What I am puzzled about is even though
I have the JAVA_HOME and ANT_HOME set in my system, when I do an ant
-diagnostics, they dont appear to be set within ANT's environment. See
below:
[
--- [EMAIL PROTECTED] wrote:
> I am attempting to run ant. When it fails,I get a
> message that says:
> "method
> java.util.prefs.Preferences.userNodeForPackage was
> not found". I
> see that this method is part of a class which is
> part of the standard
> j2sdk. I have my CLASSPATH set accord
Hello,
I am trying to create a war file to deploy on my servlet container. I have used the
command prior, but now would like to use command.
My targets involve the following:
1) info - gather property values, etc.
2) checkout - pull classes and libs from cvs using
3) compile - javac the abov
I am attempting to run ant. When it fails,I get a message that says:
"method java.util.prefs.Preferences.userNodeForPackage was not found". I
see that this method is part of a class which is part of the standard
j2sdk. I have my CLASSPATH set accordingly with :/java (java
directory). Is the
I should correct myself a little. There is no neede to
parse last after you retrieve it as long, because
task has millis attribute.
You can use it like this
--- Ivan Ivanov <[EMAIL PROTECTED]> wrote:
> Hi,
> to get the file modified date you can use something
> like this:
>
>
>
>
>
Hi,
to get the file modified date you can use something
like this:
buildfile is last modified at
${buildfile.last}
The above build script defines getlm script def which
retrives the modification date via javascript ans sets
a new prope
Hello,
I am using the signjar task to sign a set of jar files for a WebStart
application. Some of the jars have already been signed by Sun (e.g.
mail.jar) and as a jar mustn't have more than one signature I need to
exclude those files from being signed.
I misunderstood and tried the "lazy" attr
All,
This email might be off topic as it is not specific to ANT so
apologies for that and also for length of the email.
I have been assigned a task to propose tools, solutions and
processes for Infrastructure Configuration Management.
We have got a decent Software Config
But how to call this via ant?
-Original Message-
From: Mark Lybarger [mailto:[EMAIL PROTECTED]
Sent: 02 November 2004 12:53
To: Ant Users List
Subject: RE: Ant Get FileSize using exec?
RELEASE_FILE_SIZE=$(ls -l /path/to/file/filename|(read perms num_hd_links
user group size rest; echo $s
Sounds interesting.
Cheers,
Antoine
> AntFlow is an open source tool for the automation and scheduling of
> file based system tasks, including those with complex dependencies and
> workflow logic. AntFlow uses ant tasks for it's verbs and adds periodic
> and hot folder triggered invocation. Ch
33 matches
Mail list logo