You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jonas Lim <jl...@exist.com> on 2008/04/03 05:51:49 UTC

Problems building project in linux/mac using maven 2.0.8

Hi List,

I'm building a gwt project using maven 2.0.8. I'm using   
gwtforge.gwtplugin for my gwt plugin (I'm not sure if this is causing 
the issue with this  maven version).  When running a maven install on  a 
mac and linux machine and with a clean local repo I get the following 
error message :
 
    Gwt Compiler Errors : [ERROR] Unable to find 
'com/googlecode/gchart/GChart.gwt.xml' on your classpath; could be a 
typo, or maybe you forgot to include a classpath entry for source?

which basically say it can't find the gwt jar file  where the xml 
resource is located. I checked my local repo and verified  the jar file 
was downloaded and   not corrupted. I don't seem to be having the same 
problem when running on Windows though.

I changed my maven version to 2.0.7 and ran the build again on a linux, 
mac and windows box and everything worked ok.  For now, I'll be sticking 
on the 2.0.7 version until this issue is figured out.  FWIW, this issue 
might be related to some of the issue on the mailing list concerning the 
2.0.8 version  (eg. 
http://www.mail-archive.com/users@maven.apache.org/msg83221.html)

Regards,
Jonas



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problems building project in linux/mac using maven 2.0.8

Posted by Jonas Lim <jl...@exist.com>.
Hi Brett,

I tried it using RC7 and got mine working ok though i still get the same 
error intermittently on another linux box. I was wondering if it might  
be something to do with some  dependency loading issue though. I did try 
reordering the way the dependencies were set at pom.xml and was able to 
see the build failed/succeed depending on the ordering. However, I'm a 
bit lost now since when I tried it again on the same machine it seems to 
be working.  I'll create a jira once I get a test project that can 
consistently replicate the error. 

Regards,
Jonas



Brett Porter wrote:
> Hi Jonas,
>
> Can you try out the latest RCs Brian has been building to see if it is
> already addressed?
>
> If not, it seems like it's worth filing a bug for 2.0.10 with a small
> sample project that demonstrates the problem.
>
> Cheers,
> Brett
>
> On 03/04/2008, Jonas Lim <jl...@exist.com> wrote:
>   
>> Hi List,
>>
>>  I'm building a gwt project using maven 2.0.8. I'm using
>> gwtforge.gwtplugin for my gwt plugin (I'm not sure if this is causing the
>> issue with this  maven version).  When running a maven install on  a mac and
>> linux machine and with a clean local repo I get the following error message
>> :
>>
>>    Gwt Compiler Errors : [ERROR] Unable to find
>> 'com/googlecode/gchart/GChart.gwt.xml' on your classpath;
>> could be a typo, or maybe you forgot to include a classpath entry for
>> source?
>>
>>  which basically say it can't find the gwt jar file  where the xml resource
>> is located. I checked my local repo and verified  the jar file was
>> downloaded and   not corrupted. I don't seem to be having the same problem
>> when running on Windows though.
>>
>>  I changed my maven version to 2.0.7 and ran the build again on a linux, mac
>> and windows box and everything worked ok.  For now, I'll be sticking on the
>> 2.0.7 version until this issue is figured out.  FWIW, this issue might be
>> related to some of the issue on the mailing list concerning the 2.0.8
>> version  (eg.
>> http://www.mail-archive.com/users@maven.apache.org/msg83221.html)
>>
>>  Regards,
>>  Jonas
>>
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>  For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>     
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problems building project in linux/mac using maven 2.0.8

Posted by Brett Porter <br...@gmail.com>.
Hi Jonas,

Can you try out the latest RCs Brian has been building to see if it is
already addressed?

If not, it seems like it's worth filing a bug for 2.0.10 with a small
sample project that demonstrates the problem.

Cheers,
Brett

On 03/04/2008, Jonas Lim <jl...@exist.com> wrote:
> Hi List,
>
>  I'm building a gwt project using maven 2.0.8. I'm using
> gwtforge.gwtplugin for my gwt plugin (I'm not sure if this is causing the
> issue with this  maven version).  When running a maven install on  a mac and
> linux machine and with a clean local repo I get the following error message
> :
>
>    Gwt Compiler Errors : [ERROR] Unable to find
> 'com/googlecode/gchart/GChart.gwt.xml' on your classpath;
> could be a typo, or maybe you forgot to include a classpath entry for
> source?
>
>  which basically say it can't find the gwt jar file  where the xml resource
> is located. I checked my local repo and verified  the jar file was
> downloaded and   not corrupted. I don't seem to be having the same problem
> when running on Windows though.
>
>  I changed my maven version to 2.0.7 and ran the build again on a linux, mac
> and windows box and everything worked ok.  For now, I'll be sticking on the
> 2.0.7 version until this issue is figured out.  FWIW, this issue might be
> related to some of the issue on the mailing list concerning the 2.0.8
> version  (eg.
> http://www.mail-archive.com/users@maven.apache.org/msg83221.html)
>
>  Regards,
>  Jonas
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org