--- David Resnick <[EMAIL PROTECTED]> wrote:
> No, I haven't. I looked at the docs for includesfile
> and because it didn't
> mention it thought that it wouldn't expand
> properties. I just tried it and
> it worked great. Thanks!
>
> I am still curious why the property didn't work,
> though...
> -Original Message-
> > It's your mapper the pb I bet. I'm not sure of what you want to
achieve
> > exactly, I'd have to know where the files are to be sure, but try
> >
> > from="*.xml" to="../../foo/*.java".
> >
>
> well that did something. now the property is never set.
> Hmm perhaps
Use a native SCP client and do something like this
I have a global .build.properties that I import in all build files that is
stored in my user.home directory which has "scp=pscp". The "pscp" program is
an SCP client is from the Putty project (yes, I'm using Windows). In any ca
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > I must say i'm puzzled as to the
> > format of the uptodate task.
> > It doesn't make sense, to my little brain.
>
> It took me a while to figure it out too.
> Actually, I use Ant-Contrib's
scp in general creates too many problems. One of them is that it is hard
to make it not to copy the same files again in the next execution. A
samba or NFS share is a lot easier to use.
- Alexey.Murtuza J. wrote:
Hello,
Does ANT 1.5 support scp task? Is there a jar available that I can use
to
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I must say i'm puzzled as to the
> format of the uptodate task.
> It doesn't make sense, to my little brain.
It took me a while to figure it out too.
Actually, I use Ant-Contrib's instead ;-)
> to="../../foo/*.java"/>
It
Hello,
Does ANT 1.5 support scp task? Is there a jar available that I can use
to implement the scp task in my existing scripts.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
This helps me understand the background.
> > Lets say I'm a lazy programmer and dont want to
> > specify nested elements in my task for only one
> set
> > of
> > files that needs to be included. I'd rather
> provide
> > the option of specifying "includes" attribute as
> > well.
> > How do I do t
Quoting Jeffrey E Care <[EMAIL PROTECTED]>:
> I don't see you setting @from; that is probably the problem.
>
OK, i added the from, and that fixed my NPE. But now the property seems to be
always set to true, even when it shouldn't. I must say i'm puzzled as to the
format of the uptodate task. It
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > But does that mean I cannot have an
> > "includes" attribute on my task and need to rely
> upon
> > the explicit nested filesets only ?
>
> Yep, that's what I'd recommend.
>
> Is
> That much better than />?
>
> I personally don't think so.
--- Arun Gupta <[EMAIL PROTECTED]> wrote:
> --- Matt Benson <[EMAIL PROTECTED]> wrote:
[SNIP]
> > way, please do not derive from MatchingTask!
> Can you share the reasoning behind this opinion ?
MatchingTask has lots of baggage. Most tasks that
extend from MatchingTask have to BE filesets and
su
> But does that mean I cannot have an
> "includes" attribute on my task and need to rely upon
> the explicit nested filesets only ?
Yep, that's what I'd recommend.
Is
That much better than ?
I personally don't think so. I often give my nested elements
more explicit names too, like , , etc...
>
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> --- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> [SNIP]
> > Using an implicit fileset is just not as intuitive
> > as
> > using an explicit one, and I recommend you simply
> > derive
> > from Task, and have a
> > add(FileSet ds)
> > method. Your impl
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
[SNIP]
> Using an implicit fileset is just not as intuitive
> as
> using an explicit one, and I recommend you simply
> derive
> from Task, and have a
> add(FileSet ds)
> method. Your impl can then accept just one filesets,
> or
> many, in which case
> From: Arun Gupta [mailto:[EMAIL PROTECTED]
> Also, searching in the list archives, I've seen it's
> not recommended [1] to use MatchingTask as the parent
> class. What is the motivation behind that
> recommendation ? Is it going to be deprecated in a
> subsequent release ?
It should be, but too
I'm writing a custom task that require to support
"includes" attribute and nested fileset elements to
specify the location of source files. The source file
list should be a union of files specified in the
"includes" attribute and those specified in the nested
fileset element (is that a correct expe
Has anyone used the cab task before. Is there a counterpart of this task
, like un-cab or something? I tried unzip and unjar but they don't work
with cab files..
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >
> >
> >
> > but looking at setFrom, it seems the only possible NPE would be if the
> > parameter (from) was null.
>
> Well, I don't see a 'from' attribute in your mapper above ;-) --DD
Oh,
I don't see you setting @from; that is probably the problem.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
[EMAIL PROTECTED]
03/03/2005 02:26 PM
Please respond to
"Ant Users Li
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
>
>
> but looking at setFrom, it seems the only possible NPE would be if the
> parameter (from) was null.
Well, I don't see a 'from' attribute in your mapper above ;-) --DD
I am using 1.6.2 on windows xp w/1.4.2_06
I generate java files from xml files, and only want to do this if the xml files
have changed. Task udtodate seemed what i wanted. The base xml and java files
names match, so i tried
I
Is there any technique in Ant from which we can unzip the contents of
Cab Files. Its nothing but an executable zip folder which has the ocx
and INF file in it.
>
> Ant 1.6.3 (and recent nightly builds) will contain a
> length task that can set a property to the length of
> a file or string.
OK, but why a task only for a file length? The mailing
list archives contains examples for file length, last
modified date and a check whether a directory is empty
a
rakesh mailgroups <[EMAIL PROTECTED]> writes:
> We have a CVS respository on the network accessed via ssh.
>
> Eclipse works fine, as does the cygwin command line. Getting Ant to
> talk to the repository however does not work. Here is my code:
>
>
>cvsRoot=":ext:[EMAIL PROTECTED
Matt Benson wrote:
I have applied this patch to CVS HEAD and plan to put
it in for Ant 1.6.3 . Would've been even better with
docs and tests, ;)
Thanks,
Matt
--- Yuji Yamano <[EMAIL PROTECTED]> wrote:
"michael sorens" <[EMAIL PROTECTED]> writes:
Is it possible to run without changing a
I have applied this patch to CVS HEAD and plan to put
it in for Ant 1.6.3 . Would've been even better with
docs and tests, ;)
Thanks,
Matt
--- Yuji Yamano <[EMAIL PROTECTED]> wrote:
> "michael sorens" <[EMAIL PROTECTED]> writes:
>
> > Is it possible to run without changing a
> file's
> > modi
I'm not familiar with applying ant patches, plus I don't have a strong need for
the fixcrlf right now, so I'm going to have to postpone any trials for the time
being...
On Fri, 04 Mar 2005 00:35:58 +0900 (JST), Yuji Yamano <[EMAIL PROTECTED]>
wrote:
"michael sorens" <[EMAIL PROTECTED]> writes:
I
Would anyone know in this group, if its possible to grab ocx file
properties (for its version) from downloaded program file folder in ANT?
Any advice would be appreciated.
Thanks
Radha
"michael sorens" <[EMAIL PROTECTED]> writes:
> Is it possible to run without changing a file's
> modification time? Or perhaps a way to use to restore the
> original modification time after the (on a group of
> files)? I actually want to run fixcrlf in conjunction with copy
> (which has the pr
29 matches
Mail list logo