Packaging .class files in jar

34 views
Skip to first unread message

Marcel Overdijk

unread,
Aug 9, 2011, 5:07:30 PM8/9/11
to maven-gae-plugin
Hi,

I'm wondering what the gae:deploy task is exactly sending to Google
servers in relation to project Java files.
Main question is if the project .class files are bundled in a .jar or
not, and if this is configurable.

I read some forum posts mentioning that if you have to many .class
files the startup performance of the instances might be affected.


Cheers,
Marcel

Marcel Overdijk

unread,
Aug 10, 2011, 3:35:59 PM8/10/11
to maven-gae-plugin
Note that I'm using

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<archiveClasses>true</archiveClasses>
</configuration>
</plugin>

which seems to work. A jar is created in the target directory instead
of .class files.
But I don't know if this is actually also send to GAE servers...

Robert Munteanu

unread,
Aug 10, 2011, 5:35:11 PM8/10/11
to maven-ga...@googlegroups.com
Hi,

Optimising startup performance is always an interesting topic for GAE.
Have you managed to measure the difference?

--
Sent from my (old) computer

Marcel Overdijk

unread,
Aug 14, 2011, 3:06:28 PM8/14/11
to maven-gae-plugin
No I was not able to measure the performance as the application is a
new app.

On Aug 10, 11:35 pm, Robert Munteanu <robert.munte...@gmail.com>
wrote:

Marcel Overdijk

unread,
Aug 14, 2011, 3:23:56 PM8/14/11
to maven-gae-plugin
Please see also http://groups.google.com/group/maven-gae-plugin/browse_thread/thread/7c9086d913e901ca
Setting <archiveClasses>true</archiveClasses> had negative side
effects when using JRebel.

On Aug 10, 11:35 pm, Robert Munteanu <robert.munte...@gmail.com>
wrote:

Robert Munteanu

unread,
Aug 29, 2011, 9:31:25 AM8/29/11
to maven-ga...@googlegroups.com
Have you tried creating/updating your jrebel.xml to pick up the classes from the jar?
Reply all
Reply to author
Forward
0 new messages