>> Does anybody have a task that will let you echo to a file while
>> including html in the message.
>
>There will be an task in 1.7, until then
>
>
><[CDATA[generated by
>Ant]]>
>
>will do.
But I would think about a template file and with s.
Most of the html file would be static and only a
Excellent suggestion! I wasn't aware of the existence of the AntWiki.
What's the best way to go then? Maybe add a topic or even a new page under
Proposals where we can discuss where best to inform people about the issues
raised in this thread? Or simply add information to the AntOddities page?
On Mon, 30 Jan 2006, Elizabeth Sommers <[EMAIL PROTECTED]>
wrote:
> Does anybody have a task that will let you echo to a file while
> including html in the message.
There will be an task in 1.7, until then
<[CDATA[generated by Ant]]>
will do.
Stefan
*THIS* is the magic to which I was referring... getting .vbs
associated with cscript.exe.
I'm glad someone responded - I tried retracing my steps and didn't
get very far.
K
At 15:10 2006-01-30, Dick, Brian E. wrote:
Actually, wscript.exe is usually associated with Windows scripting
> Any thoughts on how we could brainstorm this? It needn't take
> much time but I'd like to do something to keep other people
> from having big problems with exec if we possibly can.
Maybe http://wiki.apache.org/ant/ is a starting point.
Cheers, Steve.
Fair enough, there probably is no "one size fits all" solution in this case.
Still, I'd hate to leave people to flounder with only the handful of
examples in the current 'exec' article in the manual; they simply aren't
much help. People can always post to the list and eventually sort out their
The exec task is always problematic because you are leaving the ant/java
world and entering into an alien space. Not only are there variations
between OSes, but individual commands on the same OS behave differently.
No matter how many times I use it, I end up having to try different
combinations of
- Original Message -
From: "Steve Loughran" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Monday, January 30, 2006 2:35 PM
Subject: Re: Problems with exec task
[snip]
Does the Ant manual mention that you can handle embedded blanks in a path
with a pair of single quotes? I don't re
Actually, wscript.exe is usually associated with Windows scripting
languages. I suggested cscript.exe because it is more appropriate for
console usage. Wscript.exe displays debug and echo messages in dialog
boxes. Cscript.exe displays messages as text.
BTW, this is a Windows thing and doesn't have
Even with the binary distribution, unless you have the dependant jars some
tasks will not work. So if you want a "fully working" Ant release, you need to
get the 3rd party jars whether you are building from source or using the binary
dist. Of course the term "fully working Ant distribution" is r
Rhino wrote:
Hurrah! Problem solved!
That did it, Tommy!
Here's the revised property and exec which now works fine:
Therefore, the executable needs to be 'cscript.exe' and the path name
needs to be within single quotes if it contains embedded blanks.
Many thanks to all who gave sug
Rhino wrote:
Thank you both for your suggestions, Clifton and Brian, but I'm afraid
neither one worked!
When I tried this from my command line:
cmd.exe start "C:\Documents and Settings\Rhino\My
Documents\LaunchWdMacro.vbs" Fred Flintstone
All I got was:
Microsoft Windows XP [Version
Hurrah! Problem solved!
That did it, Tommy!
Here's the revised property and exec which now works fine:
Therefore, the executable needs to be 'cscript.exe' and the path name needs
to be within single quotes if it contains embedded blanks.
Many thanks to all who gave suggestions, part
use a standard ant task to launch a script in a language such as perl
or python.
In perl in particular, you can embed html directly in a perl script
(see the term here document in a standard perl text book)
On Jan 30, 2006, at 5:44 PM, Sommers, Elizabeth wrote:
Does anybody have a task that wi
Not sure if this is the problem, but you can use markers
to escape the HTML within your build file.
Hope this helps
Keith
-Original Message-
From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED]
Sent: 30 January 2006 16:45
To: 'user@ant.apache.org'
Subject: echo with html
Does anybody h
Does anybody have a task that will let you echo to a file while including
html in the message. Echo doesn't do this out of the box. I would rather
not have to write it for myself if somebody else has built a report
generator to do this.
Thanks
Liz Sommers
[EMAIL PROTECTED]
___
Thanks for your feedback Jan. I changed the objectives.
Could you write a line for the refid (I'm not Ant expert at all) to be
inserted in the Classpath objectives ?
> Because you have to register and login in for anything else, I cant say
> more.
You can take the test without registering.
Bu
One thing you might try is to enclose the path name of the vbs
executable in single quotes in the property def,
also run ant with the command line option -debug or -verbose, since
ant by default won't print errors that occur during
running of the exec task.
On Jan 30, 2006, at 5:11 PM, Rhin
Thank you both for your suggestions, Clifton and Brian, but I'm afraid
neither one worked!
When I tried this from my command line:
cmd.exe start "C:\Documents and Settings\Rhino\My
Documents\LaunchWdMacro.vbs" Fred Flintstone
All I got was:
Microsoft Windows XP [Version 5.1.2600]
The
> -Original Message-
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 31 January 2006 1:02 AM
> To: Ant Users List
> Subject: Re: When is the next release?
>
> So what you all are saying is that without all of the 3rd
> party jars the best I can get out of the ant sour
You could also try cscript.exe. That's the actual command processor for
vbs and other Windows scripting languages.
-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 8:52 AM
To: Ant Users List
Subject: Re: Problems with exec task
Rhino,
Here
So what you all are saying is that without all of the 3rd party jars the best
I can get out of the ant source distro is an incomplete build? I checked and
that is right, the optional task jars are all empty. I also looked around for
a fetch.xml and could not find one. That is somewhat discouragi
Rhino,
Here's another shot in the dark. Try using the start command to invoke the
vbs. On the command line use:
cmd.exe start /path/to/LaunchWdMacro.vbs
...then try the equivalent in Ant.
---
Clifton C. Craig, Software Engineer
Intelligent Compute
23 matches
Mail list logo