Hi Esteban,
That seems like a reasonable use case.  There is a feature request to allow
configurable severity of problems, I'd recommend you star it.  See
http://code.google.com/p/google-web-toolkit/issues/detail?id=3902 .

Thanks,
jason

On Sat, Oct 17, 2009 at 3:24 PM, Esteban Ignacio Masoero <
emaso...@getsense.com.ar> wrote:

> I noticed that as brendan says, if you add external jars that are not
> located in war/WEB-INF/lib, a warning appears. However, I'd like to be able
> to specify that I want "that jar" to be excluded from the server's
> classpath, and consecuently stop getting that warning.
>
> What do you think?
>
> Esteban
>
>
> On Mon, Sep 28, 2009 at 11:15 AM, Jason Parekh <jasonpar...@gmail.com>wrote:
>
>> Thanks for pointing this out Brendan, I've opened bug
>> http://code.google.com/p/google-web-toolkit/issues/detail?id=4083 .
>> Roy, I tried exporting (i.e. ticking under order/export) the user library
>> and the warning was still missing.
>>
>> jason
>>
>>
>> On Sun, Sep 27, 2009 at 10:38 PM, Roy Smith <roy.smith....@googlemail.com
>> > wrote:
>>
>>> I haven't tested this, but is the issue simply that you haven't ticked
>>> the jars/libraries in the Order/Export tab?
>>>
>>>
>>> On Sun, Sep 27, 2009 at 10:59 PM, brendan <brendanpdohe...@gmail.com>wrote:
>>>
>>>>
>>>> After reading the other thread and doing some testing, I have found
>>>> how to get the warning in the problems view.
>>>>
>>>> On the Project Properties > Java Build Path > Libraries screen in
>>>> eclipse, I had been clicking the 'Add Library' button, then selecting
>>>> 'User Library', and then selecting or creating a new user library.
>>>> This was handy because I could group together several jars (such as
>>>> guice-2.0.jar, aopalliance.jar and guice-servlet.jar) as one thing I
>>>> called GUICE_2_0.  However I don't get the warning in problems view.
>>>>
>>>> Instead from the Project Properties > Java Build Path > Libraries
>>>> screen in eclipse, I should have clicked the 'Add External Jars'
>>>> button, and then selected the jars individually. I now get warnings
>>>> for each jar in problems view.  Something like "The following
>>>> classpath entry 'C:\temp\jar\aopalliance.jar' will not be available on
>>>> the server's classpath.
>>>>
>>>> On Sep 22, 2:05 am, Allen Firstenberg <g...@addventure.com> wrote:
>>>> > This issue was first raised back on April 16th:
>>>> http://groups.google.com/group/google-appengine-java/browse_thread/th.
>>>> ..
>>>> >
>>>> > At the time, the Google team gave a couple of suggestions, admitted
>>>> that
>>>> > some work needed to be done in this area, and said that they were
>>>> tracking
>>>> > this internally.  If there has been an update to the issue since -
>>>> I've
>>>> > missed it.
>>>> >
>>>> >
>>>> >
>>>> > On Mon, Sep 21, 2009 at 8:12 AM, brendan <brendanpdohe...@gmail.com>
>>>> wrote:
>>>> >
>>>> > > I've just spent a couple hours tracking down an issue.  It turns out
>>>> > > that i was missing gin.jar and junit.jar from my /war/WEB-INF/lib
>>>> > > directory.
>>>> >
>>>> > > Using eclipse I have specified a number of "User Libraries", and
>>>> have
>>>> > > added those to the Libraries section of the Java Build path in my
>>>> > > project properties.
>>>> >
>>>> > > It would be handy if the jars specified in the User Libraries
>>>> section
>>>> > > were copied over to /war/WEB-INF/lib automatically.  Otherwise I
>>>> worry
>>>> > > what happens when I update the central location where the jars are
>>>> > > stored, but forget to copy some of them over to /war/WEB-INF/lib.
>>>> >
>>>> > > Thanks,
>>>> > > Brendan
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to