RE: "if" task

2002-04-30 Thread Brett Porter

I'm a bit scared to weigh into this debate/holy war, but here goes :)

What about treating contrib like optional? Include it as a separate download
but still under the main umbrella?

Personally, I found it difficult without  at first, but once I figured
it out its now just fine and I rarely have to use the "if, unless" feature
of a task. Its all about getting the structure of your build right and this
is probably the very reason  is left out - too easy to write lazy,
poorly structured builds with it :)

Anyone who really wants it should be made to download it separately (or
write it themselves... surely it can be done in about 5 lines of code
exluding class & function definitions?!)

Anyway, my A$0.04 (Needed to up it to get the $0.02 USD - darn exchange rate
:)

Cheers,
Brett

-Original Message-
From: Martin Jericho [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 1 May 2002 9:29 AM
To: [EMAIL PROTECTED]
Subject: "if" task


I have a very pragmatic solution to this problem.  Include a reference to
the contrib stuff in both the resources and FAQ sections of the ANT
documentation.  Someone has already mentioned that it is in the FAQ of the
website, but I didn't check that because I had already checked the FAQ that
came with the download.  If it is put in a prominent place where newbies can
easily find it, it will no doubt save them a lot of time, and would have
saved me a lot of time.

Now I have a question for you Steve:
You said you don't have much need for conditionality apart from .
This is exactly what I want to use it for, but there is no conditionality
built into fail either.  So how do you do it?





RE: "if" task

2002-04-29 Thread Brett Porter

this is a faq on the ant site. You can use the condition task in ant 1.4

-Original Message-
From: Martin Jericho [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 30 April 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject: "if" task


I have seen a reference to a task called "if" in the dev mailing list.  It
mentioned something called ant-contrib, which I found as a project on
sourceforge, but it didn't seem to contain an if task.
Does anyone know where I can get this extension?
Why on earth isn't such basic functionality included in the standard ant
tasks?  The whole process of creating a new target with an "if" attribute
for every conditional execution is very ugly.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: SCP task?

2002-04-04 Thread Brett Porter

I'm still working on my SSH library... http://quietcoffee.sourceforge.net

>From there, I will have a BSD license so I can include an SCP task in Ant.

If anyone is interested in helping out, let me know :)

Cheers,
Brett

-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 4 April 2002 10:04 PM
To: [EMAIL PROTECTED]
Subject: SCP task?


Has anyone out there written (or know where i can find) an scp task? (scp ==

secure copy, one of the ssh tools)?

Thanks in advance,

- stephan
Generic Unix Computer Guy
[EMAIL PROTECTED] - http://www.einsurance.de
Office: +49 (89)  552 92 862 Handy:  +49 (179) 211 97 67
"Belief makes a hollow place. Something has to roll in to fill it."
-- Terry Pratchet

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Replacing Ant 1.3 with Ant 1.4.1 in Forte for Java 3.0...

2002-04-01 Thread Brett Porter

You should be able to replace the module from NetBeans with the forte one,
but you might get better help on the nb-user list for that... Does the
latest Forte jumbo patch have it perhaps?

Cheers,
Brett

-Original Message-
From: Stearns, Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday, 29 March 2002 6:57 AM
To: 'Ant Users List' (E-mail)
Subject: Replacing Ant 1.3 with Ant 1.4.1 in Forte for Java 3.0...


Hello all...new to this list by-the-way,

Has anyone been able replacing Ant 1.3 with Ant 1.4.1 in Forte for Java 3.0,
yet?
The NetBeans 3.3.1 IDE has Ant 1.4.1, but the latest Forte does not.

Any help is appreciated.

Thanks,

Chris J. Stearns


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



nested filtersets in ant 1.4.1

2002-03-03 Thread Brett Porter

Hi,

I was wondering if there is a reason this doesn't work:






...





instead you must use:





ie, you can't nest filtersets into a filterset. Is this intended, and if so
is there a different way to do it or a plan to do it?

Thanks,
Brett

~*~*~*~*~*~*~
Brett Porter - Web Developer
f2 Network ~ everything essential
Ph: +61 2 8596 4437
Email: [EMAIL PROTECTED]



RE: get my task included in next release

2002-02-17 Thread Brett Porter

Just follow the checklist at the bottom of (and read the rest of):

http://jakarta.apache.org/ant/ant_task_guidelines.html

-Original Message-
From: Joshua Allen [mailto:[EMAIL PROTECTED]]
Sent: Monday, 18 February 2002 3:40 PM
To: Ant Users List
Subject: RE: get my task included in next release


ImportScrubber:

It changes all import * statements into individual sorted import statements
for each class used.

-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 17, 2002 11:39 PM
To: Ant Users List
Subject: Re: get my task included in next release



-get on ant-dev

-get CVS read access to the source, so you are up to date with the rest of
development

-look at the task guidelines in the docs; follow them, esp the bits about
unit tests and docs (we dont want to add any tasks without unit tests, if
someone else has to write them it is extra work for whoever commits the
code)

-post the submission as an attachment to a feature request on bugzilla

-harass people till it gets committed or denied with a good reason

What does the task do, BTW?


- Original Message -
From: "Joshua Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 17, 2002 8:18 PM
Subject: get my task included in next release


> Hi, I have a great task and want it included in the optional package next
release.  How can I do this?
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: ssh/scp task

2002-02-17 Thread Brett Porter

that was clumsy... this message is an exact duplicate. My apologies.

Cheers,
Brett

-Original Message-
From: Brett Porter 
Sent: Monday, 18 February 2002 10:57 AM
To: 'Ant Users List'
Subject: ssh/scp task


Hi,

This was discussed late last year. I haven't had time since, but have just
started work on an SSH/SCP library for Java. I am basing it on OpenSSH, but
intending to release it under the Apache license. I believe this is ok,
based on the source code comments about usage of OpenSSH, and since that's C
and this is Java, it is only a remotely derived work. I will host the
project on sourceforge.




ssh/scp task

2002-02-17 Thread Brett Porter

Hi,

This was discussed late last year. I haven't had time since, but have just
started work on an SSH/SCP library for Java. I am basing it on OpenSSH, but
intending to release it under the Apache license. I believe this is ok,
based on the source code comments about usage of OpenSSH, and since that's C
and this is Java, it is only a remotely derived work. I will host the
project on sourceforge.

>From this, I will develop an SSH and SCP task for ant. The reason I haven't
used the existing ones is that mindbright's library is exceptionally slow,
at least in our environment, and is incompatible as part of GPL.

If anyone knows of a good SSH library for Java compatible with the Apache
license, let me know now!

I'd say its about a month off as I have only small amounts of time to work
on it. If anyone is interested in participating, let me know and I'll get
sourceforge project setup faster.

Cheers,
Brett

- Original Message -

> I have written an SCPTask, very simple - uses v1 of mindbright's ssh
> utilities which are GPL.
> It is a bit rough but if someone can use it I will consider cleaning it up
> and posting to ant-dev.
> What is the process for this?
>
> Cheers,
> Brett

Brett,
Thanks for coding this. SSH/SCP tasks have always been on the ant 2 wish
list, but if they can be done now, then all the better.

As Peter pointed out,the licenses are incompatible. But if you host it
somewhere on sourceforge then it can be linked to off the web site.

See http://jakarta.apache.org/ant/ant_task_guidelines.html for info on task
docs, testing.

-Steve




ssh/scp task

2002-02-17 Thread Brett Porter

Hi,

This was discussed late last year. I haven't had time since, but have just
started work on an SSH/SCP library for Java. I am basing it on OpenSSH, but
intending to release it under the Apache license. I believe this is ok,
based on the source code comments about usage of OpenSSH, and since that's C
and this is Java, it is only a remotely derived work. I will host the
project on sourceforge.

>From this, I will develop an SSH and SCP task for ant. The reason I haven't
used the existing ones is that mindbright's library is exceptionally slow,
at least in our environment, and is incompatible as part of GPL.

If anyone knows of a good SSH library for Java compatible with the Apache
license, let me know now!

I'd say its about a month off as I have only small amounts of time to work
on it. If anyone is interested in participating, let me know and I'll get
sourceforge project setup faster.

Cheers,
Brett

- Original Message -

> I have written an SCPTask, very simple - uses v1 of mindbright's ssh
> utilities which are GPL.
> It is a bit rough but if someone can use it I will consider cleaning it up
> and posting to ant-dev.
> What is the process for this?
>
> Cheers,
> Brett

Brett,
Thanks for coding this. SSH/SCP tasks have always been on the ant 2 wish
list, but if they can be done now, then all the better.

As Peter pointed out,the licenses are incompatible. But if you host it
somewhere on sourceforge then it can be linked to off the web site.

See http://jakarta.apache.org/ant/ant_task_guidelines.html for info on task
docs, testing.

-Steve




RE: task for full text search

2001-11-28 Thread Brett Porter

don't think I've ever seen one, but if you can't find one, how about writing
a "match" task using jakarta-regexp?
Writing tasks for ant is pretty simple.

Cheers,
Brett

-Original Message-
From: Mirko Seifert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 November 2001 9:48 AM
To: Ant Users List
Subject: task for full text search


hi,

i'd like to have my build failed, whenever a special string (e.g.
'@inheritDoc') appears in one of the files generated
(e.g. the javadoc html files) during the build process. i had a look on the
various tasks (,  ...),
which sound like they can help, but can't find a solution, which would not
require the  task.


any ideas?

thanks,

mirko

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Soft link task?

2001-11-21 Thread Brett Porter

Not that I know of. I can't see the problem with using exec - the only
reason not use exec is lack of portability, but soft links aren't portable
outside of Unix anyway (anywhere softlinks exist, I'd say so does ln -s)

Cheers,
Brett

-Original Message-
From: David Walend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 22 November 2001 1:39 AM
To: Ant Users List
Subject: Soft link task?


I need to create a soft link, basically doing

ln -s  

. I'm using exec now, but would like to do this more cleanly.

Thanks,

Dave




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: RemoteTask, RemoteCopyTask

2001-11-18 Thread Brett Porter

I have written an SCPTask, very simple - uses v1 of mindbright's ssh
utilities which are GPL.
It is a bit rough but if someone can use it I will consider cleaning it up
and posting to ant-dev.
What is the process for this?

Cheers,
Brett

-Original Message-
From: Peter Donald [mailto:[EMAIL PROTECTED]]
Sent: Friday, 16 November 2001 9:19 PM
To: Ant Users List
Subject: Re: RemoteTask, RemoteCopyTask


On Fri, 16 Nov 2001 21:19, Joel Cordonnier wrote:
> Hi !
>
> Are the RemoteTask task, RemoteCopyTask... describe in
> this article
> http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant_p.html
> already blundled with Ant ??

Never heard of remote task or remote copy before this. It looks like the 
article includes the source so you may be able to get that to compile. As
far 
as I am aware iot was never submitted to ant-dev.

-- 
Cheers,

Pete

"The fact that a believer is happier than a skeptic is no more to the
 point than the fact that a drunken man is happier than a sober one.
 The happiness of credulity is a cheap and dangerous quality."
-- George Bernard Shaw

--
To unsubscribe, e-mail:   
For additional commands, e-mail: