No boss its not working, as I think vssget is trying to get the latest source
code from local m/c, as I am failing to understand that
how come VssGet task come's to know that it has to get the latest source from
remote m/c untill and unless you supply some m/c name
or its IP, beacuse I navigated
Does classfileset recurse to find dependencies of dependencies, even if they
are in a different directory than the 'root' classname?
I'm trying to use classfileset to build a jar for the first time but it
doesn't seem to be recursing the way I expected.
This is my target:
Whe
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
Hi;
How can I embed a \t within an echo string?
I tried to console and file, with and without
message attribute, to no
avail.
I believe this is an XML thing. You might find an XML
parser that would preserve a hard tab character i
Consider the following directory structure and build file:
You have a build.xml in the root directory, with a directory named lib1 with
the ant-contrib jar file found in there.
Here is your build file:
Thanks for your help. A comment below.
Dominique Devienne wrote:
-Original Message-
From: Douglas Kramer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 4:53 PM
To: user@ant.apache.org
Subject: Ant: java task - invalid flag
The following java task fails with this error:
javadoc:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Hi;
> How can I embed a \t within an echo string?
> I tried to console and file, with and without
> message attribute, to no
> avail.
I believe this is an XML thing. You might find an XML
parser that would preserve a hard tab character in a
buildfile,
You don't do that. A listener listens to what tasks print or log, and
takes that string and meta-data about where it's coming from, to decide
what to do with it. It has no business introspecting the event's source
Task or Type for its attributes or nested elements, even if it can be
done.
Anyways.
--- Douglas Kramer <[EMAIL PROTECTED]> wrote:
> Instant success!! Thank you.
>
> Any explanation for why the anomaly that
> cannot contain a value
> space-separated parameters, contrary to the
> documentation:
>
>value a single command-line argument; can
> contain space characters.
>
>
This might not be specific to ant, but if someone has implemented this ,
how do we retrieve a value from the custom task made in listener
Eg.
In xml :
In listener: something similar to this , this one doesn't work ...
public void messageLogged( BuildEvent event )
{
Instant success!! Thank you.
Any explanation for why the anomaly that cannot contain a value
space-separated parameters, contrary to the documentation:
value a single command-line argument; can contain space characters.
Perhaps because Ant thinks it is an argument to java, not javadoc?
-Doug
Hi,
Thanks for this. I used it for the first time to do a task I had been doing
for over 2 months now. The output was very interesting...
Archie
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 6:03 PM
To: Ant Users List
Subject: RE
> -Original Message-
> From: Douglas Kramer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 27, 2005 4:53 PM
> To: user@ant.apache.org
> Subject: Ant: java task - invalid flag
>
> The following java task fails with this error:
>
> javadoc: error - invalid flag: -doclet
> com.sun.tools
Turn on -verbose or -debug, and study the output when it's scanning for
the files. Fileset works like this by design... Most things in Ant
revolve around fileset, so you'd better understand it cold ;-) Study
it's doc.
If you want absolute paths, use a instead (with nested
) and that,
but won't
I'll check on that... in order to do that, however, how can I dump what is in
the fileset (for debugging) ? And why do absolute paths not work? That seems
like an odd restriction...
On Thu, 27 Jan 2005 16:27:53 -0600, Dominique Devienne <[EMAIL PROTECTED]>
wrote:
From: michael sorens [mailto:[EM
--- Douglas Kramer <[EMAIL PROTECTED]> wrote:
> The following java task fails with this error:
>
> javadoc: error - invalid flag: -doclet
> com.sun.tools.doclets.formats.mif.MIFDoclet
>
> which is a perfectly valid option for javadoc.
[SNIP]
>
> Could something be wrong with the
> lines?
>
Ca
Hi;
How can I embed a \t within an echo string?
I tried to console and file, with and without message attribute, to no
avail.
Thanks,
-nat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Dominique,
Thanks for replying.
Actually, I *thought* classfileset was the right approach too but when I ran
it, it only gave me the immediate dependencies and wouldn't recurse any
further; my immediate dependencies have many dependencies of their own. I
sent a question about that a few minutes b
Thanks, it works great.
-nat
Matt Benson wrote: (um, he wrote quite a bit!)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The following java task fails with this error:
javadoc: error - invalid flag: -doclet
com.sun.tools.doclets.formats.mif.MIFDoclet
which is a perfectly valid option for javadoc.
Notice java calls javadoc Main, which then
Hmm Hmm...
After -listener, there should be a class *name* (just MyBuildListener is
its source doesn't have a package declaration, or .MyBuildListener if it does), *NOT* a class *file name*.
Please read my previous message carefully ;-) --DD
> -Original Message-
> From: Radha Sangal [mai
> From: Rhino [mailto:[EMAIL PROTECTED]
>
> I've been looking at the 'depend' task and wonder if I can use it to
> determine all of the dependencies that a given class has - INCLUDING
the
> dependents of the dependents of the dependents, etc. NOT JUST the
first
> generation dependents.
>
> Unfort
I did that , see ..
C:\EclipsePRWorkspace\LogDatabase>echo %CLASSPATH%
c:\EclipsePRWorkspace\LogDatabase\bin
I have MyBuildListener.class in that dir
Still the error !! ;-((
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 5:42 PM
To
I've been looking at the 'depend' task and wonder if I can use it to
determine all of the dependencies that a given class has - INCLUDING the
dependents of the dependents of the dependents, etc. NOT JUST the first
generation dependents.
Unfortunately, the manual article about 'depend' is more conf
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
>
> This should be easy. I am trying to add my listener class
> MyBuildListener but ant doesn't seem to find it. I tried giving
complete
> paths but still getting same error. This is like some classpath issue
?
>
> I m following this tutorial
> http:
This should be easy. I am trying to add my listener class
MyBuildListener but ant doesn't seem to find it. I tried giving complete
paths but still getting same error. This is like some classpath issue ?
I m following this tutorial
http://www.onjava.com/pub/a/onjava/2001/02/22/open_source.html?
I'm trying to use classfileset to build a jar for the first time but it
doesn't seem to be recursing the way I expected.
This is my target:
When I run it, the jar contains only three class files (and a manifest):
mydomain.foo.Foo.class
mydomain.foo.FooConstants.class
mydomain
> From: michael sorens [mailto:[EMAIL PROTECTED]
>
> I had an open question on this issue several days ago for which no one
has
> taken up the gauntlet.
Well, in fact I did answer...
> To make it very brief, I want to use a set of files in two places:
inside
> an checker,
> and as s to a task.
I had an open question on this issue several days ago for which no one has
taken up the gauntlet.
To make it very brief, I want to use a set of files in two places: inside an
checker,
and as s to a task. The build file fragment shown here works for the
check, but the js.plain.files property c
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
? How is that? I don't have a
property style file to load.
DD didn't mean loadproperties, he meant loadfile.
Oh. ok. [scurrying off to explore loadfile.]
Say I have a 'myFile.txt" as follows.
--
This is line 1 of
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> ? How is that? I don't have a
> property style file to load.
DD didn't mean loadproperties, he meant loadfile.
> Say I have a 'myFile.txt" as follows.
> --
> This is line 1 of the file.
> This is another line.
> This is the last line of myFile
S
Dominique Devienne wrote:
From: Nat Gross [mailto:[EMAIL PROTECTED]
Hi;
In a loop, instead of "list=a,b,c,d,", I would like to get
a,b,c,d
from a text file, with each element on its own line.
(Something like list=file:myFile.txt.)
Can it be done?
Yes. Simply load the file into a prope
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > From: Nat Gross
> [mailto:[EMAIL PROTECTED]
> >
> > Hi;
> > In a loop, instead of "list=a,b,c,d,", I
> would like to get
> a,b,c,d
> > from a text file, with each element on its own
> line.
> > (Something like list=file:myFile.txt.)
> > Can i
> From: Nat Gross [mailto:[EMAIL PROTECTED]
>
> Hi;
> In a loop, instead of "list=a,b,c,d,", I would like to get
a,b,c,d
> from a text file, with each element on its own line.
> (Something like list=file:myFile.txt.)
> Can it be done?
Yes. Simply load the file into a property first,
using . --DD
Hi;
In a loop, instead of "list=a,b,c,d,", I would like to get a,b,c,d
from a text file, with each element on its own line.
(Something like list=file:myFile.txt.)
Can it be done?
Thanks
-nat
-
To unsubscribe, e-mail: [EMAIL PROT
Thank you much.
-nat
[EMAIL PROTECTED] wrote:
With Ant 1.6 I would write a scriptdef doing the upper-/lowercase.
Jan
Maciej Zywno <[EMAIL PROTECTED]> writes:
> Parallel task is used to perform operations that are independent, right?
They perform task in parallel. If they are independent is up to you.
> In an sql task I specify a connection to one database. However I would
> like to run sql that let's say copy
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lukas Bradley
>
> Thank you for the help. The following works correctly:
>
>
>${toString:class-list}
Be advised that the ${toString:referenceId} construct is experimental,
and may be removed in the future. Better to use:
${class-lis
Thank you for the help. The following works correctly:
${toString:class-list}
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It might be simpler, and probably less problematic, to create a new ant
task and use it instead of the javascript. I've had nothing but problems
with using javascript, the least of which is getting all the
dependencies correctly installed.
Try this:
* MyProperty.java
package
With Ant 1.6 I would write a scriptdef doing the upper-/lowercase.
Jan
> -
Is it possible to write a filelist to a text file?
Should be no problem using the pathconvert and echo
tasks.
Thanks Matt,
I had no idea echo could write to a file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
On Thu, 27 Jan 2005, michael sorens <[EMAIL PROTECTED]> wrote:
> Is there another library I am missing...?
No, just caught in a versioning nightmare.
(1) Ant 1.6.x will need Apache BSF, not IBM's.
(2) The only release of Apache BSF so far (a release candidate,
actually) will not work with th
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
[SNIP]
> Hmmm, aren't you confusing and ?
>
> I haven't used much, but it's files
> attributes is supposed to
> be a comma separated list of files that must exists,
> not patterns like
> *.class.
:) I didn't even look at the attributes to see t
I tried your JavaScript example; after adding bsf.jar and js.jar to my ant/lib
directory, I still had this runtime error:
java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;
This was the piece of JavaScript in question:
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lukas Bradley
>
> Is it possible to write a filelist to a text file? Given the
following:
>
>
>
> Is there presently a way to write all those file paths to some other
> text file?
>
> Seems like an easy request; I was just hoping somethi
--- Lukas Bradley <[EMAIL PROTECTED]> wrote:
> Is it possible to write a filelist to a text file?
Should be no problem using the pathconvert and echo
tasks.
-Matt
__
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http:/
Is it possible to write a filelist to a text file? Given the following:
Is there presently a way to write all those file paths to some other
text file?
Seems like an easy request; I was just hoping something existed so I
wouldn't have to write my own taskdef.
-
O-k-a-y - that´s a point.
Comparable with starting the build via a mobile phone :)
Your basic idea is "let remote1 copy the files to remote2". The only way to
instruct remote1 is via the shell commands (telnet, ssh, ...). So I suggest
using .
Jan
> -Ursprüngliche Nachricht-
> Von: Dave
Sorry should have mentioned that because of the size of the transfers
(over 50Megs each time) I can't copy from remote to local, then back
again... It would take > 1 hour for the build, vs 20 minutes without it.
The remote site is across the continent, and we're trying to avoid
massive transfers du
This may happen when you give the wrong login,password,re-check that once
again (case-sensitivity etc)
and also try by mapping your \\intell59\C\Program Files\Microsoft Visual
Studio\Common\VSS to x: drive
and keep the value as serverPath="x:\" and make sure you connect to that dirve
before y
copy from remote1 to local
copy from local to remote2
delete from local
But why no ssh?
You could place the copy statement via .
Jan
> -Ursprüngliche Nachricht-
> Von: Dave Bartmess [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 27. Januar 2005 15:24
> An: user@ant.apache.org
> Be
I see in the ant tasks that scp and ftp are available, but they only
copy from a local source to a remote destination. I'm trying to copy
files between two remote directories, and not finding any tasks to do
that.
I know I can use ssh, but I'm trying to avoid that one for security
purposes.
I c
Parallel task is used to perform operations that are independent, right?
In an sql task I specify a connection to one database. However I would
like to run sql that let's say copy data from a table in one database
to a table to another database on the same database server. Can anyone
help?
On Th
thanks!
On Thu, 27 Jan 2005 08:12:31 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Maciej Zywno <[EMAIL PROTECTED]> writes:
>
> > Hi all,
> >
> > Is it possible to perform operations on two databases simultaneously
> > by means of Ant?
>
> There is the parallel task as well as the sql t
Maciej Zywno <[EMAIL PROTECTED]> writes:
> Hi all,
>
> Is it possible to perform operations on two databases simultaneously
> by means of Ant?
There is the parallel task as well as the sql task, so yes.
> I would like to schedule nightly denormalization of one database and
> put it denormalized
does not include source files nor class files.
It includes only files :-)
So you have to specify where the sources are.
Jan
> -Ursprüngliche Nachricht-
> Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 27. Januar 2005 13:26
> An: user@
I'd like to change the .jar file created to include all the source code, but
can't find the syntax. How do I do that, pls?
Hi all,
Is it possible to perform operations on two databases simultaneously
by means of Ant?
I would like to schedule nightly denormalization of one database and
put it denormalized form into the second database. I would like to use
cruisecontrol that triggers ant task at certain moments. Is it
Hi All
I am trying to get latest code from VSS but it hangs after Username, this
is what Iam doing
Console output:
C:\downloads\take>ant build.xml
Buildfile: build.xml
vssget-source:
[vssget] Username: login
After this nothing happans, I also gone through
h
Hi, Matt
thx for your suggestion!
Well, the txtfile i have to alter has actually >40 lines
so with your solution i would have a lot of
And there's also another detail i forgot to mention.
The pattern 'bla' exists 2 times in that txtfile.
the first match is
...
bla
1234
...
and some lines be
60 matches
Mail list logo