Re: SonarQube

2016-12-19 Thread Stefan Bodewig
Setting up an extra build file turned out to be pretty simple, here is
the result:

https://builds.apache.org/analysis/overview?id=ant-master

I haven't looked into getting test coverage to work (which might be
tricky because of AntUnit anyway), but its a start.

Thanks

Stefan

On 2016-12-19, Michael Clarke wrote:

> It looks like the Windows slaves use Java 8 so you could try tying the job to 
> then. The config in the SonarQube plugin sets which JVM the plugin launched 
> for running the Sonar checks, but the plugin itself needs at least Java 8 to 
> run.

> Thanks,
> Michael


>> On 19 Dec 2016, at 16:11, Stefan Bodewig  wrote:

>> Hmm, strange. The configuration section of the plugin contains an option
>> for the JDK to use, so I had expected it to do anything :-)

>> I'm afraid all Jenkins slaves run Java7, so we are out of luck using the
>> existing plugin. Executing the runner from within an Ant build file
>> would be an option, I'll try to carve out some time for that.

>> Stefan

>>> On 2016-12-19, Michael Clarke wrote:

>>> Stefan,

>>> It's failing as the slave is running on Java 7 so can't read the SonarQube 
>>> plugin's Java 8 classes. You'll need to find a slave running on Java 8 (not 
>>> just with Java 8 installed), although I couldn't find one from the quick 
>>> selection I checked.

>>> Thanks
>>> Michael

 On 19 Dec 2016, at 14:46, Stefan Bodewig  wrote:

 Hi all

 I've tried to set up a SonarQube build for Ant with
  but right now it
 doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
 working on and off but if anybody is familiar with the Jenkins plugin we
 seem to use, any help will be appreciated.

 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

>> -
>> 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: SonarQube

2016-12-19 Thread Michael Clarke
It looks like the Windows slaves use Java 8 so you could try tying the job to 
then. The config in the SonarQube plugin sets which JVM the plugin launched for 
running the Sonar checks, but the plugin itself needs at least Java 8 to run.

Thanks,
Michael


> On 19 Dec 2016, at 16:11, Stefan Bodewig  wrote:
> 
> Hmm, strange. The configuration section of the plugin contains an option
> for the JDK to use, so I had expected it to do anything :-)
> 
> I'm afraid all Jenkins slaves run Java7, so we are out of luck using the
> existing plugin. Executing the runner from within an Ant build file
> would be an option, I'll try to carve out some time for that.
> 
> Stefan
> 
>> On 2016-12-19, Michael Clarke wrote:
>> 
>> Stefan,
> 
>> It's failing as the slave is running on Java 7 so can't read the SonarQube 
>> plugin's Java 8 classes. You'll need to find a slave running on Java 8 (not 
>> just with Java 8 installed), although I couldn't find one from the quick 
>> selection I checked.
> 
>> Thanks
>> Michael
> 
>>> On 19 Dec 2016, at 14:46, Stefan Bodewig  wrote:
> 
>>> Hi all
> 
>>> I've tried to set up a SonarQube build for Ant with
>>>  but right now it
>>> doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
>>> working on and off but if anybody is familiar with the Jenkins plugin we
>>> seem to use, any help will be appreciated.
> 
>>> 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
> 
> -
> 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: SonarQube

2016-12-19 Thread Stefan Bodewig
Hmm, strange. The configuration section of the plugin contains an option
for the JDK to use, so I had expected it to do anything :-)

I'm afraid all Jenkins slaves run Java7, so we are out of luck using the
existing plugin. Executing the runner from within an Ant build file
would be an option, I'll try to carve out some time for that.

Stefan

On 2016-12-19, Michael Clarke wrote:

> Stefan,

> It's failing as the slave is running on Java 7 so can't read the SonarQube 
> plugin's Java 8 classes. You'll need to find a slave running on Java 8 (not 
> just with Java 8 installed), although I couldn't find one from the quick 
> selection I checked.

> Thanks
> Michael

>> On 19 Dec 2016, at 14:46, Stefan Bodewig  wrote:

>> Hi all

>> I've tried to set up a SonarQube build for Ant with
>>  but right now it
>> doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
>> working on and off but if anybody is familiar with the Jenkins plugin we
>> seem to use, any help will be appreciated.

>> 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

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



Re: SonarQube

2016-12-19 Thread Michael Clarke
Stefan,

It's failing as the slave is running on Java 7 so can't read the SonarQube 
plugin's Java 8 classes. You'll need to find a slave running on Java 8 (not 
just with Java 8 installed), although I couldn't find one from the quick 
selection I checked.

Thanks
Michael

> On 19 Dec 2016, at 14:46, Stefan Bodewig  wrote:
> 
> Hi all
> 
> I've tried to set up a SonarQube build for Ant with
>  but right now it
> doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
> working on and off but if anybody is familiar with the Jenkins plugin we
> seem to use, any help will be appreciated.
> 
> 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



SonarQube

2016-12-19 Thread Stefan Bodewig
Hi all

I've tried to set up a SonarQube build for Ant with
 but right now it
doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
working on and off but if anybody is familiar with the Jenkins plugin we
seem to use, any help will be appreciated.

Stefan

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



Releasing Ant 1.9.8 (and maybe 1.10.0)?

2016-12-19 Thread Stefan Bodewig
Hi all

it's been eight months since the last release and we currently have
accumulated some important improvements for Java9 and seem to have fixed
a serious wrapper script issue for "more traditional" Unixes.

See https://github.com/apache/ant/blob/1.9.x/WHATSNEW for 1.9.8

I think that's enough to warrant a release and would volunteer to be the
RM.

For 1.10.0 things are less clear to me. It contains all the fixes of
1.9.8 and apart from that I only see

 * New file selectors ,  and .

 * New task  that provides the ability to set POSIX
   compatible permssions via NIO's PosixFilePermission

 * AntClassLoader and its subclasses register themselves as parallel
   capable.

where  really only works on POSIXy file systems because
that's how NIO works.

Not sure whether we want to cut the release nevertheless, if so I'd be
willing to manage that release as well.

So what do you think?

Stefan

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



Re: Site stuff (in particular Ivy and IvyDE)

2016-12-19 Thread Gintautas Grigelionis
IvyDE and Ivy share styles. These are not necessary for builds (at least,
from what I saw with IvyDE), but it sure helps to be able to get the look
and feel.

It seems sensible to me to have separate repos for site sources, one per
project, and another repo for publishing which would aggregate built sites
and all releases for all projects (that's how IvyDE builds work, AFAICS).

Gintas

2016-12-19 12:41 GMT+01:00 Stefan Bodewig :

> On 2016-12-15, Gintautas Grigelionis wrote:
>
> >> 2016-12-15 8:43 GMT+01:00 Stefan Bodewig :
>
> >> https://github.com/apache/ant-ivy-site-styles is a very curious case as
> >> it claims to mirror a repository that doesn't exist (I wanted to
> >> manually push the svn files there but fail to find the repository).
>
> >> It would be good if anybody could ask INFRA in order to figure out what
> >> exactly the repo is mirroring as I don't see anything matching at
> >> https://git-wip-us.apache.org/repos/asf - I'll do so myself at the
> >> weekend, if nobody else finds time before that.
>
> > Great! May I suggest adding repos ant-site-sources, ant-ivy-site-sources,
> > ant-ivyde-site-sources and ant-site (for publishing using the git
> workflow)?
>
> Not exactly weekend anymore :-)
>
> https://github.com/apache/ant-ivy-site-styles and
> https://github.com/apache/any-ivy-site-styles
>
> seem to be the same and neither has ever been requested by us AFAICT.
>
> Assuming we wanted to restructure the site stuff, what would it look
> like?
>
> Do we want to move to git? All of it or just parts? How many repos do we
> want to use (a single one as we do right now, or one for Ant+antlibs and
> several for Ivy and IvyDE)? I'm not familiar with how the Ivy and IvyDE
> sites get built.
>
> Stefan
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>


Site stuff (in particular Ivy and IvyDE)

2016-12-19 Thread Stefan Bodewig
On 2016-12-15, Gintautas Grigelionis wrote:

>> 2016-12-15 8:43 GMT+01:00 Stefan Bodewig :

>> https://github.com/apache/ant-ivy-site-styles is a very curious case as
>> it claims to mirror a repository that doesn't exist (I wanted to
>> manually push the svn files there but fail to find the repository).

>> It would be good if anybody could ask INFRA in order to figure out what
>> exactly the repo is mirroring as I don't see anything matching at
>> https://git-wip-us.apache.org/repos/asf - I'll do so myself at the
>> weekend, if nobody else finds time before that.

> Great! May I suggest adding repos ant-site-sources, ant-ivy-site-sources,
> ant-ivyde-site-sources and ant-site (for publishing using the git workflow)?

Not exactly weekend anymore :-)

https://github.com/apache/ant-ivy-site-styles and
https://github.com/apache/any-ivy-site-styles

seem to be the same and neither has ever been requested by us AFAICT.

Assuming we wanted to restructure the site stuff, what would it look
like?

Do we want to move to git? All of it or just parts? How many repos do we
want to use (a single one as we do right now, or one for Ant+antlibs and
several for Ivy and IvyDE)? I'm not familiar with how the Ivy and IvyDE
sites get built.

Stefan

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