You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by Paul Merlin <pa...@apache.org> on 2017/05/17 12:01:53 UTC

[VOTE] [CANCEL] Release Polygene (Java Edition) version 3.0.0

This vote is cancelled due to an issue with bootstrapping the build from
the source distribution.

I will create a new RC and send out another vote e-mail soon.

/Paul


Niclas Hedhman a écrit :
> Yes, cancel...
>
> On May 17, 2017 6:45 PM, "Paul Merlin" <pa...@apache.org> wrote:
>
>> Niclas Hedhman a écrit :
>>> 2. Is the LICENSE.txt auto-generated? It has a couple of other licenses
>> in
>>> it, due to dependencies. But I wonder if these are actually bundled or we
>>> just forgot to clean it up.
>> It's not generated, it is the one present at the root of the git
>> repository.
>> It contains a subcomponents note for the documentation website
>> dependencies bundled in the source distribution (jQuery,
>> SyntaxHighlighter etc..).
>>
>>
>>> PROBLEM!!
>>> So, I see in README that I need "any version of Gradle", so went to
>>> gradle.org and it suggested (for Mac OSX) to use "brew" which is a
>> common
>>> package manager. This was the outcome...
>>>
>>> niclas:apache-polygene-java-3.0.0-src niclas$ brew install gradle
>>> ==> Downloading
>>> https://downloads.gradle.org/distributions/gradle-2.0-bin.zip
>>> ########################################################################
>>> 100.0%
>>> 🍺  /usr/local/Cellar/gradle/2.0: 146 files, 44M, built in 3.2 minutes
>>> niclas:apache-polygene-java-3.0.0-src niclas$ gradle wrapper
>>> To honour the JVM settings for this build a new JVM will be forked.
>> Please
>>> consider using the daemon:
>>> http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
>>> /gradle-node-plugin-1.1.1.jar
>>> :buildSrc:clean UP-TO-DATE
>>> :buildSrc:compileJava UP-TO-DATE
>>> :buildSrc:compileGroovy FAILED
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task ':compileGroovy'.
>>>> Compilation failed; see the compiler error output for details.
>>> * Try:
>>> Run with --stacktrace option to get the stack trace. Run with --info or
>>> --debug option to get more log output.
>>>
>>> BUILD FAILED
>>>
>>> Total time: 2 mins 43.47 secs
>> Ok, you pulled Gradle 2.0 and we use features introduced after that.
>> This tells us that the mechanism to bootstrap the build from the source
>> distribution is quite fragile.
>>
>> I have an idea how to fix this, will do later today.
>>
>> -1 from me
>>
>> Shall we cancel this VOTE?
>>
>>
>>
>

Re: [VOTE] [CANCEL] Release Polygene (Java Edition) version 3.0.0

Posted by Paul Merlin <pa...@apache.org>.
Niclas Hedhman a écrit :
> Also, I get a second Gradle download during the build, although 3.5 has
> been downloaded before.

It may be because one is using the -bin Gradle dist where the other one
is using the -all Gradle dist.

> :tools:generator-polygene:setsCurrentVersionToPackageJson
> :tools:generator-polygene:npmTest
>
>> generator-polygene@3.0.0 test
> /Users/niclas/temp/apache-polygene-java-3.0.0-src/tools/generator-polygene
>> mocha ./test/generator_test.js --reporter mocha-junit-reporter
> --reporter-options
> mochaFile=../../reports/tests/npmTest/generator-polygene.xml
>
> Downloading https://services.gradle.org/distributions/gradle-3.5-all.zip
> ......................................................................................................................................................................................................
> <==========---> 82% EXECUTING
>> :tools:generator-polygene:npmTest

Humf, this made me realize that :tools:generator-polygene includes a
copy of the Gradle wrapper jar ...

./tools/generator-polygene/app/templates/buildtool/gradle-wrapper.jar_

It means that we should adapt the generator build to reuse the wrapper
in use, or something like that.

This "no wrapper jar in source distro" story is getting complicated.

I'll take a stab at fixing this but it will have to wait a couple more days.

Cheers

/Paul







Re: [VOTE] [CANCEL] Release Polygene (Java Edition) version 3.0.0

Posted by Niclas Hedhman <ni...@hedhman.org>.
Also, I get a second Gradle download during the build, although 3.5 has
been downloaded before.

:tools:generator-polygene:setsCurrentVersionToPackageJson
:tools:generator-polygene:npmTest

> generator-polygene@3.0.0 test
/Users/niclas/temp/apache-polygene-java-3.0.0-src/tools/generator-polygene
> mocha ./test/generator_test.js --reporter mocha-junit-reporter
--reporter-options
mochaFile=../../reports/tests/npmTest/generator-polygene.xml

Downloading https://services.gradle.org/distributions/gradle-3.5-all.zip
......................................................................................................................................................................................................
<==========---> 82% EXECUTING
> :tools:generator-polygene:npmTest




On Thu, May 18, 2017 at 7:55 AM, Niclas Hedhman <ni...@hedhman.org> wrote:

> It seems that we need to point out that Gradle "brew" install doesn't
> work. If I do manual, the build is ok. I think the text should be something
> like "Gradle 3.0 or later" and perhaps a note that "brew for OSX only gives
> you 2.0"
>
> On Wed, May 17, 2017 at 8:01 PM, Paul Merlin <pa...@apache.org>
> wrote:
>
>> This vote is cancelled due to an issue with bootstrapping the build from
>> the source distribution.
>>
>> I will create a new RC and send out another vote e-mail soon.
>>
>> /Paul
>>
>>
>> Niclas Hedhman a écrit :
>> > Yes, cancel...
>> >
>> > On May 17, 2017 6:45 PM, "Paul Merlin" <pa...@apache.org> wrote:
>> >
>> >> Niclas Hedhman a écrit :
>> >>> 2. Is the LICENSE.txt auto-generated? It has a couple of other
>> licenses
>> >> in
>> >>> it, due to dependencies. But I wonder if these are actually bundled
>> or we
>> >>> just forgot to clean it up.
>> >> It's not generated, it is the one present at the root of the git
>> >> repository.
>> >> It contains a subcomponents note for the documentation website
>> >> dependencies bundled in the source distribution (jQuery,
>> >> SyntaxHighlighter etc..).
>> >>
>> >>
>> >>> PROBLEM!!
>> >>> So, I see in README that I need "any version of Gradle", so went to
>> >>> gradle.org and it suggested (for Mac OSX) to use "brew" which is a
>> >> common
>> >>> package manager. This was the outcome...
>> >>>
>> >>> niclas:apache-polygene-java-3.0.0-src niclas$ brew install gradle
>> >>> ==> Downloading
>> >>> https://downloads.gradle.org/distributions/gradle-2.0-bin.zip
>> >>> ############################################################
>> ############
>> >>> 100.0%
>> >>> 🍺  /usr/local/Cellar/gradle/2.0: 146 files, 44M, built in 3.2 minutes
>> >>> niclas:apache-polygene-java-3.0.0-src niclas$ gradle wrapper
>> >>> To honour the JVM settings for this build a new JVM will be forked.
>> >> Please
>> >>> consider using the daemon:
>> >>> http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
>> >>> /gradle-node-plugin-1.1.1.jar
>> >>> :buildSrc:clean UP-TO-DATE
>> >>> :buildSrc:compileJava UP-TO-DATE
>> >>> :buildSrc:compileGroovy FAILED
>> >>>
>> >>> FAILURE: Build failed with an exception.
>> >>>
>> >>> * What went wrong:
>> >>> Execution failed for task ':compileGroovy'.
>> >>>> Compilation failed; see the compiler error output for details.
>> >>> * Try:
>> >>> Run with --stacktrace option to get the stack trace. Run with --info
>> or
>> >>> --debug option to get more log output.
>> >>>
>> >>> BUILD FAILED
>> >>>
>> >>> Total time: 2 mins 43.47 secs
>> >> Ok, you pulled Gradle 2.0 and we use features introduced after that.
>> >> This tells us that the mechanism to bootstrap the build from the source
>> >> distribution is quite fragile.
>> >>
>> >> I have an idea how to fix this, will do later today.
>> >>
>> >> -1 from me
>> >>
>> >> Shall we cancel this VOTE?
>> >>
>> >>
>> >>
>> >
>>
>
>
>
> --
> Niclas Hedhman, Software Developer
> http://polygene.apache.org - New Energy for Java
>



-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java

Re: [VOTE] [CANCEL] Release Polygene (Java Edition) version 3.0.0

Posted by Paul Merlin <pa...@apache.org>.
Niclas Hedhman a écrit :
> It seems that we need to point out that Gradle "brew" install doesn't work.
> If I do manual, the build is ok. I think the text should be something like
> "Gradle 3.0 or later" and perhaps a note that "brew for OSX only gives you
> 2.0"

Homebrew is installing the latest stable here, that is 3.5.
You probably did not `brew update` on your setup recently.

And anyway, I pushed changes that should make it work with Gradle < 1.0.
See d5d753ffd for details.


Re: [VOTE] [CANCEL] Release Polygene (Java Edition) version 3.0.0

Posted by Niclas Hedhman <ni...@hedhman.org>.
It seems that we need to point out that Gradle "brew" install doesn't work.
If I do manual, the build is ok. I think the text should be something like
"Gradle 3.0 or later" and perhaps a note that "brew for OSX only gives you
2.0"

On Wed, May 17, 2017 at 8:01 PM, Paul Merlin <pa...@apache.org> wrote:

> This vote is cancelled due to an issue with bootstrapping the build from
> the source distribution.
>
> I will create a new RC and send out another vote e-mail soon.
>
> /Paul
>
>
> Niclas Hedhman a écrit :
> > Yes, cancel...
> >
> > On May 17, 2017 6:45 PM, "Paul Merlin" <pa...@apache.org> wrote:
> >
> >> Niclas Hedhman a écrit :
> >>> 2. Is the LICENSE.txt auto-generated? It has a couple of other licenses
> >> in
> >>> it, due to dependencies. But I wonder if these are actually bundled or
> we
> >>> just forgot to clean it up.
> >> It's not generated, it is the one present at the root of the git
> >> repository.
> >> It contains a subcomponents note for the documentation website
> >> dependencies bundled in the source distribution (jQuery,
> >> SyntaxHighlighter etc..).
> >>
> >>
> >>> PROBLEM!!
> >>> So, I see in README that I need "any version of Gradle", so went to
> >>> gradle.org and it suggested (for Mac OSX) to use "brew" which is a
> >> common
> >>> package manager. This was the outcome...
> >>>
> >>> niclas:apache-polygene-java-3.0.0-src niclas$ brew install gradle
> >>> ==> Downloading
> >>> https://downloads.gradle.org/distributions/gradle-2.0-bin.zip
> >>> ############################################################
> ############
> >>> 100.0%
> >>> 🍺  /usr/local/Cellar/gradle/2.0: 146 files, 44M, built in 3.2 minutes
> >>> niclas:apache-polygene-java-3.0.0-src niclas$ gradle wrapper
> >>> To honour the JVM settings for this build a new JVM will be forked.
> >> Please
> >>> consider using the daemon:
> >>> http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
> >>> /gradle-node-plugin-1.1.1.jar
> >>> :buildSrc:clean UP-TO-DATE
> >>> :buildSrc:compileJava UP-TO-DATE
> >>> :buildSrc:compileGroovy FAILED
> >>>
> >>> FAILURE: Build failed with an exception.
> >>>
> >>> * What went wrong:
> >>> Execution failed for task ':compileGroovy'.
> >>>> Compilation failed; see the compiler error output for details.
> >>> * Try:
> >>> Run with --stacktrace option to get the stack trace. Run with --info or
> >>> --debug option to get more log output.
> >>>
> >>> BUILD FAILED
> >>>
> >>> Total time: 2 mins 43.47 secs
> >> Ok, you pulled Gradle 2.0 and we use features introduced after that.
> >> This tells us that the mechanism to bootstrap the build from the source
> >> distribution is quite fragile.
> >>
> >> I have an idea how to fix this, will do later today.
> >>
> >> -1 from me
> >>
> >> Shall we cancel this VOTE?
> >>
> >>
> >>
> >
>



-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java