[forge-dev] Fwd: forge build

Ivan St. Ivanov ivan.st.ivanov at gmail.com
Sat Apr 7 11:57:08 EDT 2012


Hmmm, everything passes on Windows XP. There we don't have these formatting
issues.

You should first install this though:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5582

On Sat, Apr 7, 2012 at 6:08 PM, Lincoln Baxter, III <lincolnbaxter at gmail.com
> wrote:

> Well, if the only issues are Formatting issues, then we should consider
> ourselves lucky :) Perhaps we could put an output filter on the JavaParser
> for the purpose of testing - E.g: Search and replace all \r\n with just \n,
> or something to that effect.
>
> ~Lincoln
>
>
> On Sat, Apr 7, 2012 at 3:40 AM, Ivan St. Ivanov <ivan.st.ivanov at gmail.com>wrote:
>
>> Hi!
>>
>> I ran all the tests on Windows 7. And I got five failures:
>>
>> JavaClassTest::testFormattingIsNotChanged()
>> FacesScaffoldTest::testGenerateFromEntity()
>> FacesScaffoldTest::testGenerateFromEntityCamelCase()
>> FacesScaffoldTest::testGenerateFromNestedEntity()
>> FacesScaffoldTest::testGenerateEntityWithEnum()
>>
>> The first one was already discussed by and large and a decision was made
>> to try and fix the test and not the code (unfortunately I still don't have
>> answer from eclipse jdt core on my question about formatting).
>>
>> The other four I haven't looked at, but I will do later today or tomorrow.
>>
>> I'll also run the tests on Windows XP with clean maven repo.
>>
>> Cheers,
>> Ivan
>>
>>
>> On Thu, Apr 5, 2012 at 8:13 AM, Lincoln Baxter, III <
>> lincolnbaxter at gmail.com> wrote:
>>
>>> That's not OS-specific, and it doesn't fail the build, but it is highly
>>> annoying.
>>>
>>>
>>> On Thu, Apr 5, 2012 at 12:56 AM, Jason Porter <lightguard.jp at gmail.com>wrote:
>>>
>>>> Like that utf-8 issue?
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Apr 4, 2012, at 22:46, "Lincoln Baxter, III" <
>>>> lincolnbaxter at gmail.com> wrote:
>>>>
>>>> Mostly OS-specific issues.
>>>>
>>>> On Thu, Apr 5, 2012 at 12:35 AM, Jason Porter <lightguard.jp at gmail.com>wrote:
>>>>
>>>>> Are they related to maven or something else?
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On Apr 4, 2012, at 22:23, "Lincoln Baxter, III" <
>>>>> lincolnbaxter at gmail.com> wrote:
>>>>>
>>>>> Okay cool. Many people have tons of failures so I'm not exactly sure
>>>>> why they are seemingly so sporadic. But this narrows it down by 1 :)
>>>>>
>>>>> ~Lincoln
>>>>>
>>>>> On Thu, Apr 5, 2012 at 12:11 AM, Jason Porter <lightguard.jp at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> I fixed it with that pull request.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Apr 4, 2012, at 22:06, "Lincoln Baxter, III" <
>>>>>> lincolnbaxter at gmail.com> wrote:
>>>>>>
>>>>>> Sorry to say this, but my recommendation at this point is to crack
>>>>>> open the debugger :( I can't reproduce this on any of my machines.
>>>>>>
>>>>>> https://docs.jboss.org/author/display/FORGE/Debugging+Forge
>>>>>>
>>>>>> ~Lincoln
>>>>>>
>>>>>> On Wed, Apr 4, 2012 at 12:48 PM, Jason Porter <
>>>>>> lightguard.jp at gmail.com> wrote:
>>>>>>
>>>>>>> Here's the output from the two runs I did. The first one did not
>>>>>>> have a clean repo, the second one, as you can see from the output, does
>>>>>>> have a clean repo.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 3, 2012 at 21:26, Jason Porter <lightguard.jp at gmail.com>wrote:
>>>>>>>
>>>>>>>> I'll let you know.
>>>>>>>>
>>>>>>>> Sent from my iPhone
>>>>>>>>
>>>>>>>> On Apr 3, 2012, at 21:12, "Lincoln Baxter, III" <
>>>>>>>> lincolnbaxter at gmail.com> wrote:
>>>>>>>>
>>>>>>>> Hmmm. It shouldn't but I suppose that's possible!
>>>>>>>>
>>>>>>>> Would be good to know.
>>>>>>>>
>>>>>>>> ~Lincoln
>>>>>>>>
>>>>>>>> On Tue, Apr 3, 2012 at 8:45 PM, Jason Porter <
>>>>>>>> lightguard.jp at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I'll have to try again. Does they use $FORGE_HOME? If so, that
>>>>>>>>> would explain it
>>>>>>>>>
>>>>>>>>> Sent from my iPhone
>>>>>>>>>
>>>>>>>>> On Apr 3, 2012, at 18:39, "Lincoln Baxter, III" <
>>>>>>>>> lincolnbaxter at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> Which tests?? I don't even see failures with a clean repo. This
>>>>>>>>> build is turning into a nightmare :)
>>>>>>>>>
>>>>>>>>> On Tue, Apr 3, 2012 at 4:05 PM, Jason Porter <
>>>>>>>>> lightguard.jp at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> I run -DskipTests on Fedora as well because of failing tests.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 3, 2012 at 14:04, Burr Sutter <bsutter at redhat.com>wrote:
>>>>>>>>>>
>>>>>>>>>>> I have only tried building Forge about 5 times - putting the git
>>>>>>>>>>> clone results into a brand new directory.
>>>>>>>>>>>
>>>>>>>>>>> I had to use -DskipTests every time.
>>>>>>>>>>>
>>>>>>>>>>> Perhaps there is an environmental setting for the average Mac or
>>>>>>>>>>> Windows machine to allow for the tests to run.
>>>>>>>>>>>
>>>>>>>>>>> On Apr 3, 2012, at 3:55 PM, Lincoln Baxter, III wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hey guys, have any of you seen an issue like this before?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Apr 2, 2012 at 6:07 PM, Burr Sutter <bsutter at redhat.com>wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Begin forwarded message:
>>>>>>>>>>>>
>>>>>>>>>>>> *From: *Burr Sutter <bsutter at redhat.com>
>>>>>>>>>>>> *Subject: **forge build*
>>>>>>>>>>>> *Date: *March 31, 2012 2:26:33 PM EDT
>>>>>>>>>>>> *To: *Lincoln Baxter <lbaxter at redhat.com>, Koen Aers <
>>>>>>>>>>>> kaers at redhat.com>
>>>>>>>>>>>>
>>>>>>>>>>>> Please tell me how to make "mvn install" work with Forge.
>>>>>>>>>>>>
>>>>>>>>>>>> I use
>>>>>>>>>>>> "git clone https://github.com/forge/core.git"
>>>>>>>>>>>> "mvn install"
>>>>>>>>>>>>
>>>>>>>>>>>> and I always have test failures on Mac & Windows
>>>>>>>>>>>>
>>>>>>>>>>>> Tests in error:
>>>>>>>>>>>>
>>>>>>>>>>>>  testRunScriptNotHostHttpUrl(org.jboss.forge.shell.test.plugins.builtin.RunUrlP
>>>>>>>>>>>> luginTest): Unexpected exception,
>>>>>>>>>>>> expected<java.net.UnknownHostException> but wa
>>>>>>>>>>>> s<org.mvel2.CompileException>
>>>>>>>>>>>>
>>>>>>>>>>>> Tests run: 136, Failures: 0, Errors: 1, Skipped: 5
>>>>>>>>>>>>
>>>>>>>>>>>> [INFO]
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> [INFO] Reactor Summary:
>>>>>>>>>>>> [INFO]
>>>>>>>>>>>> [INFO] Forge - Parent ....................................
>>>>>>>>>>>> SUCCESS [0.733s]
>>>>>>>>>>>> [INFO] Forge - Targeted Event Bus ........................
>>>>>>>>>>>> SUCCESS [40.622s]
>>>>>>>>>>>> [INFO] Forge - Parser/Java API ...........................
>>>>>>>>>>>> SUCCESS [1.246s]
>>>>>>>>>>>> [INFO] Forge - Parser/XML ................................
>>>>>>>>>>>> SUCCESS [0.950s]
>>>>>>>>>>>> [INFO] Forge - Shell API .................................
>>>>>>>>>>>> SUCCESS [10.231s]
>>>>>>>>>>>> [INFO] Forge - Maven Integration APIs ....................
>>>>>>>>>>>> SUCCESS [22.668s]
>>>>>>>>>>>> [INFO] Forge - Git Integration ...........................
>>>>>>>>>>>> SUCCESS [7.097s]
>>>>>>>>>>>> [INFO] Forge - Test Harness ..............................
>>>>>>>>>>>> SUCCESS [1.277s]
>>>>>>>>>>>> [INFO] Forge - Maven Project Model .......................
>>>>>>>>>>>> SUCCESS [18.364s]
>>>>>>>>>>>> [INFO] Forge - Parser/Java ...............................
>>>>>>>>>>>> SUCCESS [28.347s]
>>>>>>>>>>>> [INFO] Forge - Shell .....................................
>>>>>>>>>>>> FAILURE [3:42.427s]
>>>>>>>>>>>> [INFO] Forge - Git Integration Tests .....................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Project Model Maven Tests .................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Test Harness (Web) ........................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Java EE APIs ..............................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Java EE Integration Impl & Plugins ........
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Scaffolding APIs ..........................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Scaffolding Plugins .......................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Dev Plugins ...............................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Scaffold Provider for Java Server Faces ...
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] Forge - Modular Plugin Loader .....................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO] JBoss Forge - Distribution Build ..................
>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>> [INFO]
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>>>> [INFO]
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> [INFO] Total time: 5:56.660s
>>>>>>>>>>>> [INFO] Finished at: Sat Mar 31 13:07:19 EDT 2012
>>>>>>>>>>>> [INFO] Final Memory: 30M/102M
>>>>>>>>>>>> [INFO]
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.
>>>>>>>>>>>> 12:test (default-test) on project forge-shell: There are test
>>>>>>>>>>>> failures.
>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>> [ERROR] Please refer to
>>>>>>>>>>>> D:\code\forge\core\shell\target\surefire-reports for the
>>>>>>>>>>>> individual test results.
>>>>>>>>>>>> [ERROR] -> [Help 1]
>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven
>>>>>>>>>>>> with the -e swit
>>>>>>>>>>>> ch.
>>>>>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>>>>>>>>>>>> logging.
>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>> [ERROR] For more information about the errors and possible
>>>>>>>>>>>> solutions, please rea
>>>>>>>>>>>> d the following articles:
>>>>>>>>>>>> [ERROR] [Help 1]
>>>>>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
>>>>>>>>>>>> eption
>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>>>>>> with the command
>>>>>>>>>>>>
>>>>>>>>>>>> [ERROR]   mvn <goals> -rf :forge-shell
>>>>>>>>>>>> D:\code\forge\core>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> forge-dev mailing list
>>>>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Lincoln Baxter, III
>>>>>>>>>>> http://ocpsoft.org
>>>>>>>>>>> "Simpler is better."
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> forge-dev mailing list
>>>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> forge-dev mailing list
>>>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Jason Porter
>>>>>>>>>> http://lightguard-jp.blogspot.com
>>>>>>>>>> http://twitter.com/lightguardjp
>>>>>>>>>>
>>>>>>>>>> Software Engineer
>>>>>>>>>> Open Source Advocate
>>>>>>>>>> Author of Seam Catch - Next Generation Java Exception Handling
>>>>>>>>>>
>>>>>>>>>> PGP key id: 926CCFF5
>>>>>>>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> forge-dev mailing list
>>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Lincoln Baxter, III
>>>>>>>>> http://ocpsoft.org
>>>>>>>>> "Simpler is better."
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> forge-dev mailing list
>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> forge-dev mailing list
>>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Lincoln Baxter, III
>>>>>>>> http://ocpsoft.org
>>>>>>>> "Simpler is better."
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> forge-dev mailing list
>>>>>>>> forge-dev at lists.jboss.org
>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Jason Porter
>>>>>>> http://lightguard-jp.blogspot.com
>>>>>>> http://twitter.com/lightguardjp
>>>>>>>
>>>>>>> Software Engineer
>>>>>>> Open Source Advocate
>>>>>>> Author of Seam Catch - Next Generation Java Exception Handling
>>>>>>>
>>>>>>> PGP key id: 926CCFF5
>>>>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> forge-dev mailing list
>>>>>>> forge-dev at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Lincoln Baxter, III
>>>>>> http://ocpsoft.org
>>>>>> "Simpler is better."
>>>>>>
>>>>>> _______________________________________________
>>>>>> forge-dev mailing list
>>>>>> forge-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> forge-dev mailing list
>>>>>> forge-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lincoln Baxter, III
>>>>> http://ocpsoft.org
>>>>> "Simpler is better."
>>>>>
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lincoln Baxter, III
>>>> http://ocpsoft.org
>>>> "Simpler is better."
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Lincoln Baxter, III
>>> http://ocpsoft.org
>>> "Simpler is better."
>>>
>>> _______________________________________________
>>> forge-dev mailing list
>>> forge-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>
>>>
>>
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120407/887858ba/attachment-0001.html 


More information about the forge-dev mailing list