AW: Ant Contrib

2017-06-05 Thread jhm
Some years ago there were a discussion about having ant-contrib a part of Ant.
Result was that it wasn't possible due IP (and therefore legal) reasons.

Having a look at the tasklist [1] there are some I would use:
* antcallback: maybe enhance  
* antfetch: maybe (same base idea as antcallback)
* assert: not required, you could use antunit
* foreach: no in favour of 'for'
* for: yep
* if: not required since xmlns:if is available
* outofdate: no idea
* runtarget: no: use  or  or 
* switch: maybe, but would be in contra to , you could use 
* throw: no, maybe enhance 
* timetstampselector: no; nice idea but I would investigate more in using 
resource collections and all existing selectors, not only the tstamp one
* trycatch: maybe
* httppost: yep
* antserver: no
* performancemonitor: no, use ProfileLogger [2]
* stopwatch: no, use [2]
* osfamily: use  condition
* shellscript: use 

[GitHub] ant issue #34: eblikstad

2017-06-05 Thread janmaterne
Github user janmaterne commented on the issue:

https://github.com/apache/ant/pull/34
  
Thanks for the PR. The first view:
* there isnt any test (not sure it would be possible)
* baseline is Ant_1.8, which is not maintained any more.
Current Ant is 1.9 for Java5 and Ant 1.10 for Java8, see 
http://ant.apache.org/faq.html#java-version


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: Ivy nightly builds - Generate a full .zip/.tar.gz snapshots?

2017-06-05 Thread J Pai
This job worked and we now have 2 successful runs of it. Thank you for setting 
this up - I’m hoping this will now get us a bit more quicker inputs to bug 
fixes and other things from Ivy user community who might be willing to give it 
a try.

-Jaikiran
On 03-Jun-2017, at 3:51 PM, Jan Matèrne (jhm)  wrote:

merged.
We'll see the next nightly ...

Jan

> -Ursprüngliche Nachricht-
> Von: J Pai [mailto:jai.forums2...@gmail.com]
> Gesendet: Samstag, 3. Juni 2017 04:07
> An: Ant Developers List
> Betreff: Re: Ivy nightly builds - Generate a full .zip/.tar.gz
> snapshots?
> 
> Here’s the PR to fix the tutorial regressions
> https://github.com/apache/ant-ivy/pull/40
> 
> -Jaikiran
> On 03-Jun-2017, at 7:09 AM, J Pai  wrote:
> 
> Looked at the job logs. This indeed caught a genuine compilation error.
> Given that we don’t run these tutorials build daily, it wasn’t noticed
> this far. It looks like this might have been introduced by some of our
> recent changes. I’ll  take a look to fix it today.
> 
> -Jaikiran
> On 03-Jun-2017, at 1:28 AM, Jan Matèrne (jhm) 
> wrote:
> 
>> Would it be feasible to have a Jenkins daily job (runs once at a
>> schedule) for Ivy which publishes the complete binary zip/tar.gz of
>> Ivy nightly snapshots? I know we have a daily job currently here[1]
>> which generates a jar as the artifact output of the job. Maybe this
>> job itself can be changed to generate the full distributable binary
>> .zip/.tar.gz?
>> 
>> Where I plan to use such a job is, to have Ivy users have quick
> access
>> to our nightly builds so that they can use those binaries just like
>> they would for released versions. That way, we can ask the users to
>> test out/verify any bug fixes we have pushed, in their own
>> environments by installing those snapshots. Especially in cases where
>> it’s hard to reproduce some bugs in first place (Windows OS for
>> example). I understand they could probably do it even now using those
>> jars we publish, but I would prefer the process of “installation” to
>> be almost the same as what we would do with released binaries - i.e.
>> use a .zip/.tar.gz with all relevant files in them.
>> 
>> [1] https://builds.apache.org/job/Ivy/
> 
> 
> Not sure if that is that the right.
> I set up a job which runs @daily, starts "ant -f build-release.xml
> snapshot-bin" and publishes build/distrib/dist/**.
> https://builds.apache.org/view/A/view/Ant/job/Ivy-NightlyDistribution/
> 
> 
> Jan
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional
> commands, e-mail: dev-h...@ant.apache.org
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional
> commands, e-mail: dev-h...@ant.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: Ant Contrib

2017-06-05 Thread Gintautas Grigelionis
Thanks for the comment. IMHO, if there ever would be an Ant Contrib 2.0, it
should contain at least

antcallback
antfetch
for
if (I see use cases where xmlns:if is more cumbersome :-)
outofdate
switch
trycatch/throw
switch
stopwatch (for those who like adding timers in the script rather than using
a listener)
math (although it might be easier using JavaScript scriptdef nowadays)
propertycopy
propertyregex
propertyselector (what would be a replacement here?)
urlencode
limit
antclipse (perhaps enhanced with multirootfileset)
inifile
verifydesign

http task(s) deserve a separate antlib. The tasks on the block are

assert
foreach
runtarget
timestampselector
antserver
performancemonitor
osfamily
shellscript
sortlist
variable
forget
compilewithwalls

Gintas

2017-06-05 15:13 GMT+02:00 Jan Matèrne (jhm) :

> Some years ago there were a discussion about having ant-contrib a part of
> Ant.
> Result was that it wasn't possible due IP (and therefore legal) reasons.
>
> Having a look at the tasklist [1] there are some I would use:
> * antcallback: maybe enhance 
> * antfetch: maybe (same base idea as antcallback)
> * assert: not required, you could use antunit
> * foreach: no in favour of 'for'
> * for: yep
> * if: not required since xmlns:if is available
> * outofdate: no idea
> * runtarget: no: use  or  or 
> * switch: maybe, but would be in contra to , you could use  target="prefix${value}">
> * throw: no, maybe enhance 
> * timetstampselector: no; nice idea but I would investigate more in using
> resource collections and all existing selectors, not only the tstamp one
> * trycatch: maybe
> * httppost: yep
> * antserver: no
> * performancemonitor: no, use ProfileLogger [2]
> * stopwatch: no, use [2]
> * osfamily: use  condition
> * shellscript: use 

Re: Ant Contrib

2017-06-05 Thread Dominique Devienne
On Mon, Jun 5, 2017 at 3:13 PM, Jan Matèrne (jhm)  wrote:

> Some years ago there were a discussion about having ant-contrib a part of
> Ant.
> Result was that it wasn't possible due IP (and therefore legal) reasons.
>
> Having a look at the tasklist [1] there are some I would use:
> ...

* outofdate: no idea
>

 was done by Peter Reilly, who's already an Ant commiter,
so that one should be OK (and we can always ask Peter). Same for  IIRC.

I was a heavy user of  myself, which is much better than
.
I always felt it should have been in Ant proper, but I also didn't have a
problem adding
Ant-Contrib either, so no big deal. FWIW. --DD


[GitHub] ant-ivy pull request #39: first batch of SVG replacements

2017-06-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/ant-ivy/pull/39


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



[GitHub] ant-ivy pull request #42: Checkstyle redux

2017-06-05 Thread twogee
GitHub user twogee opened a pull request:

https://github.com/apache/ant-ivy/pull/42

Checkstyle redux

Hopefully the last batch of whitespace changes...

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/twogee/ant-ivy master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ant-ivy/pull/42.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #42


commit a2fdfe6737e67935779ea26bbf2d4650e5d77dc4
Author: twogee 
Date:   2017-06-05T20:37:14Z

Whitespace cleanup

commit 7d4528639ca56fa2e9eb826d5ba3118261c86d22
Author: twogee 
Date:   2017-06-05T20:37:39Z

Adjust Eclipse settings for Java 7

commit a9880a18fe1c30ede7b409093dbc4b5c24042d33
Author: twogee 
Date:   2017-06-05T21:05:35Z

Remove main() in tests, optimise target dependencies in build.xml and 
address diverse Checkstyle warnings

commit 4c6450f4582763c81aec93f69a2d485f469da25a
Author: twogee 
Date:   2017-06-05T21:18:12Z

Upgrade Checkstyle to 7.8.1




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: [VOTE] Release Compress Antlib 1.5 based on RC2

2017-06-05 Thread Stefan Bodewig
On 2017-06-01, Stefan Bodewig wrote:

> I've created a new release candidate for Compress Antlib 1.5, this time
> with working Ivy coordinates and a release date three days into the
> future.

> git tag: 1_5_RC2
>  on commit: f20847d
> tarballs: https://dist.apache.org/repos/dist/dev/ant/antlibs/compress/
>   revision: 19857
> Maven artifacts:
>   
> https://repository.apache.org/content/repositories/orgapacheant-1018/org/apache/ant/ant-compress/1.5/

> This Vote will be open at least for 72 hours and close no earlier than
> 2017-06-04 17:00UTC.

Making my own vote explicit

+1

Actually, time seems to be up. Any other votes?

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: [VOTE] Release Compress Antlib 1.5 based on RC2

2017-06-05 Thread J Pai
+1.

-Jaikiran
On 06-Jun-2017, at 9:56 AM, Stefan Bodewig  wrote:

On 2017-06-01, Stefan Bodewig wrote:

> I've created a new release candidate for Compress Antlib 1.5, this time
> with working Ivy coordinates and a release date three days into the
> future.

> git tag: 1_5_RC2
> on commit: f20847d
> tarballs: https://dist.apache.org/repos/dist/dev/ant/antlibs/compress/
>  revision: 19857
> Maven artifacts:
>  
> https://repository.apache.org/content/repositories/orgapacheant-1018/org/apache/ant/ant-compress/1.5/

> This Vote will be open at least for 72 hours and close no earlier than
> 2017-06-04 17:00UTC.

Making my own vote explicit

+1

Actually, time seems to be up. Any other votes?

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org