By default the eclipse plugin will copy the default set of SDK jars that
most applications will need into YOUR_WAR_DIRECTORY/WEB-INF/lib under the
assumption that you will want to launch and deploy from it directly.  If you
want tighter control, you can navigate to the project properties and select
Google > Web Application and uncheck the "Launch and deploy from this
directory".  This will treat the directory as input only (won't copy any
jars into YOUR_WAR_DIRECTORY/WEB-INF/lib), but you will need to provide a
staging war directory for launching and debugging.

The feature was intended to facilitate integration with Eclipse J2EE
projects and Maven -- perhaps it will be useful in this case.  The
FAQs<http://code.google.com/eclipse/docs/faq.html>go into more detail.

On Sun, Apr 4, 2010 at 2:35 PM, Scott Hernandez <[email protected]>wrote:

> There was  recent discussion about dependencies (valid for Objectify or any
> datastore based impl.)  but the eclipse plugin question has not been
> answered well.
>
>
> http://groups.google.com/group/objectify-appengine/browse_thread/thread/d464550b97cee2e3/45c70bea305822fd
>
> I suspect that if you enable the plugin, it will always copy the files into
> your lib dir :(
>
> You can disable it and use ant/command-line to deploy, as a last ditch
> option.
>
> On Sun, Apr 4, 2010 at 11:25 AM, Krishna <[email protected]>wrote:
>
>> Hi,
>>
>> I'm using Objectify for persistence and I'd really like to remove all
>> jdo /  jpa related jars from my lib directory but eclipse keeps
>> transferring them back. I also tried modifying the contents of the
>> com.google.appengine.eclipse.core file under the .setting directory
>> but I guess eclipse overwrites my changes on startup and then copies
>> over the jars anyway. I've seen discussions where people have used the
>> appcfg tool to manually deploy instead of doing so from within eclipse
>> but I'm hoping a better solution  exists.
>>
>> This blogpost
>> http://www.answercow.com/2010/03/google-app-engine-cold-start-guide-for.html
>> claims that startup times reduce by ~400ms by removing these jars and
>> I really love speedups especially when they are free :-).
>>
>> Perhaps someone from Google can comment on whether removing these jars
>> will actually speedup apps even if the app does not directly use
>> them.
>>
>> Also, I am not sure which jars need to be retained for sure and I'd
>> really appreciate it if someone could could give me a pointer
>> regarding this. I am pretty new to Java so apologies if this is a
>> naive question.
>>
>> Thanks so much,
>>
>> Krishna
>>
>> --
>> 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
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>  --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Miguel

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to