So, assuming one does this, how would one put quotes in place around
params?
On Wed, 16 Jul 2008, Karr, David wrote:
As another poster pointed out, the correct solution is to use multiple
"arg"s with "value" attributes, not trying to figure out how to get
through the various escaping layers wi
Got it :)
Somewhat round-about, but I wrote a small bash script that accepts two
arguments and wraps the first
one in <> and then executes the command:
#!/bin/bash
input=$1
output=$2
./jsmin.py <$input>$output
As another poster pointed out, the correct solution is to use multiple
"arg"s with "value" attributes, not trying to figure out how to get
through the various escaping layers with the "line" attribute.
> -Original Message-
> From: Peters, John [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, J
Hello,
I want to use antcall together with inheritall=false:
There are some targets that dont run, when paramsometimesunset is unset.
If I pass the parameter like this and paramsometimesunset is unset, it is set
in the called target.
But I want it to be just the same value (
Hi,
oh, the <|> problem. Today learned: Never ignore funny arguments.
Maybe the output/input attributes of the task are helpful. In my
cases I use a self-written ant task.
Cheers,
André
Keith Hughitt schrieb:
Hi André,
Thanks for the suggestion. Python does find the script: Adding a print
Hi André,
Thanks for the suggestion. Python does find the script: Adding a print
statement
in the python script shows up during the build. Originally I thought that
the issue might be
due to the script not finding the input file. I now think, however, it may
be due to how python
interprets the ang
Seems like python doesn't find the script (because there is no error
message).
Possible solutions:
- use absolute path for script location:
- call script directly (like your working test.py):
resolveexecutable="true">
I also note the double
Thank you very much for the work around
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 9:26 AM
To: Ant Users List
Subject: Re: Pass Quotes to arg line
I have a solution for you that works :) Took me a little googling...but
this should d
Hi Luis,
Thanks for the suggestion. I had tried using "ant -v" before, and also
redirecting the output, but was not aware of the '-d' parameter.
The script *should* result in a new file, "proj-all-min.js" being created.
The file is only created when I run the script manually, however,
and not when
I have a solution for you that works :) Took me a little googling...but
this should do what you want... Please note, the Bash shell script below
is entitled myscript.sh and "lives" next to the build.xml:
#!/bin/bash
echo "Command line params = [$*
The ant manual, of all things, says the following:
It is highly recommended to avoid the line version when possible. Ant
will try to split the command
line in a way similar to what a (Unix) shell would do, but may
create something that is v
different from what you expect under some
Thank you but that doesn't seem to work with the arg line command.
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 3:59 AM
To: Ant Users List
Subject: RE: Pass Quotes to arg line
-Original Message-
From: Lars Monsees [mailto:[EM
Hi,
need more info to help you. Use "ant -d" to get the command line and the
arguments how python is called. How exactly does it not work? Any error
message?
Cheers,
André
Keith Hughitt schrieb:
Hi all,
I've just recently started using Ant on Linux, and so far it has been really
amazing. I
Thx, that works fine =)
Usage examples (I couldn´t find them in ant-contrib) are here:
http://www.loribel.com/info/memento/ant.html (french)
Lars
> ant-contrib sounds like what you want.
>
> HTH,
> Matt
>
> --- Lars Monsees <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> I couldn´t find a bette
Is there any helpful output when starting Ant with -v?
> But the program already exits with an explicit error of 1. Any other
> ideas?
>
>
>
>
>
> Gilbert Rebhan
> <[EMAIL PROTECTED]
> e>
>
But the program already exits with an explicit error of 1. Any other ideas?
Gilbert Rebhan
<[EMAIL PROTECTED]
-Original Message-
From: Lars Monsees [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 9:51 AM
To: Ant Users List
Subject: RE: Pass Quotes to arg line
/*
> Hello,
> I'm trying to pass quotes to the arg line for a parameter that has
> spaces in it.
> I've tried " but that didn't s
Hi John,
> Hello,
> I'm trying to pass quotes to the arg line for a parameter that has
> spaces in it.
> I've tried " but that didn't seem to work.
> Also tried "" \".
> Any suggestions?
I´ve had the same problem some time ago,
s. http://tinyurl.com/66tvbv
Unfortunately, I haven´t found a soluti
18 matches
Mail list logo