Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 80050 invoked from network); 1 Jul 2008 10:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2008 10:33:31 -0000 Received: (qmail 53221 invoked by uid 500); 1 Jul 2008 10:33:31 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 53174 invoked by uid 500); 1 Jul 2008 10:33:31 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 53158 invoked by uid 99); 1 Jul 2008 10:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 03:33:31 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hazem.saleh@gmail.com designates 209.85.198.250 as permitted sender) Received: from [209.85.198.250] (HELO rv-out-0708.google.com) (209.85.198.250) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 10:32:38 +0000 Received: by rv-out-0708.google.com with SMTP id b17so1478504rvf.36 for ; Tue, 01 Jul 2008 03:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=Ts2P09cmBY0+MNihgN+C0yCWmmo72J1JDZSzIPo+jkE=; b=hTtZ/pUHnahaWW7kWXfkEJLQtSyRcK0aLjy102C9+CsMXnFjO+4uXB/ewmj295ttSu eg0zAUCUnguAJ19tgGLpBghGFeQ19IgCsEPGN7lCOY68Klrzw2oqG9bALHpi1F9uw/DJ ddLxuWFmw3F0X8ME7hVUw/VokgQ+HE7AJDrRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=Lz3rqNWxm1bGEMBxtLcZAmcYjNpEEKbuOaROUbznFn6cAarR2eLcY2oYktR4ui3Yr0 w8TSKR5UiCPxY9P1F5L7eCFOZJtUXlWWTHXNZE1emBC+jHJeoTA+66QOXScXz8VKchk3 pnICl+RhReE/+w1Cc/9rjB2zPwFJEimEqNscQ= Received: by 10.141.76.21 with SMTP id d21mr3341244rvl.242.1214908361455; Tue, 01 Jul 2008 03:32:41 -0700 (PDT) Received: by 10.141.67.15 with HTTP; Tue, 1 Jul 2008 03:32:40 -0700 (PDT) Message-ID: <24d690cd0807010332i42a8da09p94d3d45b27501c57@mail.gmail.com> Date: Tue, 1 Jul 2008 13:32:40 +0300 From: "Hazem Saleh" Sender: hazem.saleh@gmail.com To: "MyFaces Development" Subject: Re: An error during build In-Reply-To: <24d690cd0807010321l6f14a7b1l1e140cb2a220b8a0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_649_31110892.1214908361422" References: <24d690cd0807010016r43bffeeaga2adb1832e7fe139@mail.gmail.com> <71235db40807010126u50e6e3cfhab73c19266556559@mail.gmail.com> <4869EDD9.6030809@chello.at> <24d690cd0807010255w3edecac3h7fc4c7d9d2830b5@mail.gmail.com> <71235db40807010256x55e76c8bw254c36563d4af9c4@mail.gmail.com> <24d690cd0807010301s11e88b21u874b41b74749b089@mail.gmail.com> <71235db40807010319jac705b9wabb7614fa3049520@mail.gmail.com> <24d690cd0807010321l6f14a7b1l1e140cb2a220b8a0@mail.gmail.com> X-Google-Sender-Auth: 5a2ead8120ec4d7d X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_649_31110892.1214908361422 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It runs successfully too after I upgraded my maven version. This means that the root cause of the problem was because of the core12 :). On Tue, Jul 1, 2008 at 1:21 PM, Hazem Saleh wrote: > ok I will try and tell u the result. > > > On Tue, Jul 1, 2008 at 1:19 PM, Matthias Wessendorf > wrote: > >> On Tue, Jul 1, 2008 at 12:01 PM, Hazem Saleh wrote: >> > I downgraded maven to 2.0.4 and removed the core12 from the (pom.xml) >> file. >> >> do you mind to try with your old version ? >> >> -M >> >> > It now works great! >> > >> > On Tue, Jul 1, 2008 at 12:56 PM, Matthias Wessendorf > > >> > wrote: >> >> >> >> On Tue, Jul 1, 2008 at 11:55 AM, Hazem Saleh >> wrote: >> >> > Thank you Simon and Matzew for your great tips. >> >> > It works now fine with me. >> >> >> >> what happened ? >> >> >> >> -M >> >> >> >> > >> >> > On Tue, Jul 1, 2008 at 11:42 AM, simon.kitching@chello.at >> >> > wrote: >> >> >> >> >> >> Hi Hazem, >> >> >> >> >> >> I've just rebuilt tomahawk and had no problem. Well, after I edited >> the >> >> >> pom.xml and sandbox/pom.xml to comment out the "core12" stuff which >> >> >> doesn't >> >> >> compile. >> >> >> >> >> >> Note that maven does not support multiple concurrent instances >> >> >> accessing >> >> >> the same local maven repository. So you cannot run mvn in two >> windows >> >> >> at the >> >> >> same time. If you were doing this when the error message was shown, >> try >> >> >> again with just one instance running. >> >> >> >> >> >> And maven does occasionally get a corrupted local repository >> (possibly >> >> >> due >> >> >> to accidentally running multiple concurrent instances, or using >> ctrl-c >> >> >> at >> >> >> the wrong moment). Try renaming ~/.m2/repository so it gets a fresh >> >> >> copy. >> >> >> >> >> >> If that doesn't work, then I'm out of ideas. As I said, it works for >> me >> >> >> (mvn 2.0.9 on linux). >> >> >> >> >> >> Cheers, Simon >> >> >> >> >> >> Matthias Wessendorf schrieb: >> >> >>> >> >> >>> I noticed this error a while ago, when building Trinidad. >> >> >>> This is one of the typical random build issues, which you can't >> >> >>> foresee >> >> >>> when using maven ,-) >> >> >>> >> >> >>> I guess you run with a very recent maven, right? >> >> >>> I think using 2.0.4 this will not show up, but this switch >> >> >>> causes other issues, since some plugins require 2.0.6 or greater >> >> >>> >> >> >>> Another option is to "patch" the FileUtils in question on your >> >> >>> computer. >> >> >>> Find the one that doesn't have this method, and replace the JAR by >> one >> >> >>> that actually has the "right" signature. Yes... this is a very ugly >> >> >>> workaround... >> >> >>> >> >> >>> -Matthias >> >> >>> >> >> >>> On Tue, Jul 1, 2008 at 9:16 AM, Hazem Saleh >> wrote: >> >> >>> >> >> >>>> >> >> >>>> Hi Team, >> >> >>>> >> >> >>>> Is there anyone that faces this issue during building Tomahawk ? >> >> >>>> >> >> >>>> java.lang.NoSuchMethodError: >> >> >>>> org.codehaus.plexus.util.FileUtils.getDefaultExclud >> >> >>>> es()[Ljava/lang/String; >> >> >>>> at >> >> >>>> >> org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSel >> >> >>>> ector.setExcludes(IncludeExcludeFileSelector.java:131) >> >> >>>> at >> >> >>>> >> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDe >> >> >>>> pendencyMojo.unpack(AbstractDependencyMojo.java:251) >> >> >>>> at >> >> >>>> >> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo >> >> >>>> .unpackArtifact(UnpackMojo.java:207) >> >> >>>> at >> >> >>>> >> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo >> >> >>>> .execute(UnpackMojo.java:180) >> >> >>>> at >> >> >>>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >> >> >>>> nManager.java:443) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> >> >>>> ultLifecycleExecutor.java:539) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> >> >>>> fecycle(DefaultLifecycleExecutor.java:480) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> >> >>>> ltLifecycleExecutor.java:459) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> >> >>>> dleFailures(DefaultLifecycleExecutor.java:311) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> >> >>>> ts(DefaultLifecycleExecutor.java:278) >> >> >>>> at >> >> >>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> >> >>>> fecycleExecutor.java:143) >> >> >>>> at >> >> >>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> >> >>>> at >> >> >>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> >> >>>> at >> >> >>>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> >> >>>> java:39) >> >> >>>> at >> >> >>>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> >> >>>> sorImpl.java:25) >> >> >>>> at java.lang.reflect.Method.invoke(Method.java:585) >> >> >>>> at >> >> >>>> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> >>>> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >> >>>> at >> >> >>>> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> >>>> >> >> >>>> at >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> >>>> >> >> >>>> >> >> >>>> Thanks! >> >> >>>> -- >> >> >>>> Hazem Ahmed Saleh Ahmed >> >> >>>> http://www.jroller.com/page/HazemBlog >> >> >>>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Hazem Ahmed Saleh Ahmed >> >> > http://www.jroller.com/page/HazemBlog >> >> >> >> >> >> >> >> -- >> >> Matthias Wessendorf >> >> >> >> further stuff: >> >> blog: http://matthiaswessendorf.wordpress.com/ >> >> sessions: http://www.slideshare.net/mwessendorf >> >> mail: matzew-at-apache-dot-org >> > >> > >> > >> > -- >> > Hazem Ahmed Saleh Ahmed >> > http://www.jroller.com/page/HazemBlog >> >> >> >> -- >> Matthias Wessendorf >> >> further stuff: >> blog: http://matthiaswessendorf.wordpress.com/ >> sessions: http://www.slideshare.net/mwessendorf >> mail: matzew-at-apache-dot-org >> > > > > -- > Hazem Ahmed Saleh Ahmed > http://www.jroller.com/page/HazemBlog > -- Hazem Ahmed Saleh Ahmed http://www.jroller.com/page/HazemBlog ------=_Part_649_31110892.1214908361422 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It runs successfully too after I upgraded my maven version.
This means that the root cause of the problem was because of the core12 :).

On Tue, Jul 1, 2008 at 1:21 PM, Hazem Saleh <hazems@apache.org> wrote:
ok I will try and tell u the result.


On Tue, Jul 1, 2008 at 1:19 PM, Matthias Wessendorf <matzew@apache.org> wrote:
On Tue, Jul 1, 2008 at 12:01 PM, Hazem Saleh <hazems@apache.org> wrote:
> I downgraded maven to 2.0.4 and removed the core12 from the (pom.xml) file.

do you mind to try with your old version ?

-M

> It now works great!
>
> On Tue, Jul 1, 2008 at 12:56 PM, Matthias Wessendorf <matzew@apache.org>
> wrote:
>>
>> On Tue, Jul 1, 2008 at 11:55 AM, Hazem Saleh <hazems@apache.org> wrote:
>> > Thank you Simon and Matzew for your great tips.
>> > It works now fine with me.
>>
>> what happened ?
>>
>> -M
>>
>> >
>> > On Tue, Jul 1, 2008 at 11:42 AM, simon.kitching@chello.at
>> > <simon.kitching@chello.at> wrote:
>> >>
>> >> Hi Hazem,
>> >>
>> >> I've just rebuilt tomahawk and had no problem. Well, after I edited the
>> >> pom.xml and sandbox/pom.xml to comment out the "core12" stuff which
>> >> doesn't
>> >> compile.
>> >>
>> >> Note that maven does not support multiple concurrent instances
>> >> accessing
>> >> the same local maven repository. So you cannot run mvn in two windows
>> >> at the
>> >> same time. If you were doing this when the error message was shown, try
>> >> again with just one instance running.
>> >>
>> >> And maven does occasionally get a corrupted local repository (possibly
>> >> due
>> >> to accidentally running multiple concurrent instances, or using ctrl-c
>> >> at
>> >> the wrong moment). Try renaming ~/.m2/repository so it gets a fresh
>> >> copy.
>> >>
>> >> If that doesn't work, then I'm out of ideas. As I said, it works for me
>> >> (mvn 2.0.9 on linux).
>> >>
>> >> Cheers, Simon
>> >>
>> >> Matthias Wessendorf schrieb:
>> >>>
>> >>> I noticed this error a while ago, when building Trinidad.
>> >>> This is one of the typical random build issues, which you can't
>> >>> foresee
>> >>> when using maven ,-)
>> >>>
>> >>> I guess you run with a very recent maven, right?
>> >>> I think using 2.0.4 this will not show up, but this switch
>> >>> causes other issues, since some plugins require 2.0.6 or greater
>> >>>
>> >>> Another option is to "patch" the FileUtils in question on your
>> >>> computer.
>> >>> Find the one that doesn't have this method, and replace the JAR by one
>> >>> that actually has the "right" signature. Yes... this is a very ugly
>> >>> workaround...
>> >>>
>> >>> -Matthias
>> >>>
>> >>> On Tue, Jul 1, 2008 at 9:16 AM, Hazem Saleh <hazems@apache.org> wrote:
>> >>>
>> >>>>
>> >>>> Hi Team,
>> >>>>
>> >>>> Is there anyone that faces this issue during building Tomahawk ?
>> >>>>
>> >>>> java.lang.NoSuchMethodError:
>> >>>> org.codehaus.plexus.util.FileUtils.getDefaultExclud
>> >>>> es()[Ljava/lang/String;
>> >>>>        at
>> >>>> org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSel
>> >>>> ector.setExcludes(IncludeExcludeFileSelector.java:131)
>> >>>>        at
>> >>>> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDe
>> >>>> pendencyMojo.unpack(AbstractDependencyMojo.java:251)
>> >>>>        at
>> >>>> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo
>> >>>> .unpackArtifact(UnpackMojo.java:207)
>> >>>>        at
>> >>>> org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo
>> >>>> .execute(UnpackMojo.java:180)
>> >>>>        at
>> >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
>> >>>> nManager.java:443)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
>> >>>> ultLifecycleExecutor.java:539)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
>> >>>> fecycle(DefaultLifecycleExecutor.java:480)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>> >>>> ltLifecycleExecutor.java:459)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>> >>>> dleFailures(DefaultLifecycleExecutor.java:311)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>> >>>> ts(DefaultLifecycleExecutor.java:278)
>> >>>>        at
>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>> >>>> fecycleExecutor.java:143)
>> >>>>        at
>> >>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>> >>>>        at
>> >>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>> >>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>> >>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >>>>        at
>> >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> >>>> java:39)
>> >>>>        at
>> >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> >>>> sorImpl.java:25)
>> >>>>        at java.lang.reflect.Method.invoke(Method.java:585)
>> >>>>        at
>> >>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >>>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >>>>        at
>> >>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >>>>
>> >>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >>>>
>> >>>>
>> >>>> Thanks!
>> >>>> --
>> >>>> Hazem Ahmed Saleh Ahmed
>> >>>> http://www.jroller.com/page/HazemBlog
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>> >
>> >
>> > --
>> > Hazem Ahmed Saleh Ahmed
>> > http://www.jroller.com/page/HazemBlog
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> further stuff:
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> mail: matzew-at-apache-dot-org
>
>
>
> --
> Hazem Ahmed Saleh Ahmed
> http://www.jroller.com/page/HazemBlog



--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org



--



--
Hazem Ahmed Saleh Ahmed
http://www.jroller.com/page/HazemBlog ------=_Part_649_31110892.1214908361422--