How do I set this up?

532 views
Skip to first unread message

David Lai

unread,
Oct 13, 2011, 5:00:34 AM10/13/11
to Test Analytics Discuss
Hi,

I like the ACC idea. I was wondering how do I setup a server running
this? I would like to try it out.

Thanks,
david L.

Jim Reardon

unread,
Oct 13, 2011, 6:10:12 PM10/13/11
to test-analyt...@googlegroups.com
Hi David,

You can use the pre-hosted instance available here:

I'm writing a document on how to self-host it on your own AppEngine instance -- the general deal on that, though, is you can use maven to deploy to appengine.  The maven build configuration uses the gae maven plugin, so with a few tweaks to the XML you should be able to upload and deploy to your own instance.

More info on that plugin:

- Jim

zuidervled

unread,
Oct 28, 2011, 6:14:46 PM10/28/11
to Test Analytics Discuss
Hi Jim,
I really like the ACC approach and would like to use it for a project
I'm working on. It would be great if there was documentation on
deploying and setting up test-analytics on my own web-server. Do you
have any suggestions on how to get started?
Thanks,Nick

Jim Reardon

unread,
Oct 31, 2011, 12:56:01 AM10/31/11
to test-analyt...@googlegroups.com
There is not currently documentation on how to set up your own instance.

You could always grab the source and work on it yourself -- it uses the gae maven plugin so shouldn't be too complicated.

- Jim

joseph

unread,
Nov 8, 2011, 2:24:59 AM11/8/11
to Test Analytics Discuss

How is going to write document for setting up own project? ^^;


I used the gas maven plugin to set up my own instance.

at first, I modified POM.XML
<!-- google App Engine serer id and account info →
<server>
<id>appengine.google.com</id>
<username>yeo...@gmail.com</username> →
<password>xxxxxxxx</password>
</server>

and..

mvn gae:unpack

and..
mvn gas:run

..
But I've encountered a error message .. like this "Found a jar file
too large to upload ..xxxx"

How can I solve this..?


On Oct 31, 1:56 pm, Jim Reardon <j...@google.com> wrote:
> There is not currently documentation on how to set up your own instance.
>
> You could always grab the source and work on it yourself -- it uses the gae
> maven plugin so shouldn't be too complicated.
>
> - Jim
>

Jim Reardon

unread,
Nov 9, 2011, 3:03:21 AM11/9/11
to test-analyt...@googlegroups.com
Hello,

You can add the splitJars boolean set to true to the pom.xml.

See:

- Jim

miketi...@gmail.com

unread,
Feb 28, 2012, 12:59:02 PM2/28/12
to test-analyt...@googlegroups.com
Where do I add <splitJars>true</splitJars>  ?  I have added it to every configuration xml block in Pom.xml but I still get
"Found a jar file too large to upload: "/tmp/appcfg9036737735220534695.tmp/WEB-INF/lib/gwt-user-2.3.0.jar".  Consider using --enable_jar_splitting." 
Note I get success with mvn gae:run, I am only seeing a problem with deploy to my place on appspot.
Thanks - Mike

Jim Reardon

unread,
Feb 28, 2012, 1:24:33 PM2/28/12
to test-analyt...@googlegroups.com
gwt-user shouldn't be uploaded, according to some information I found.


Try the workaround mentioned in that bug ("If using Maven, use <scope>provided</scope> for the gwt-user dependency and make sure you have gwt-maven-plugin 2.2.0 or later"). If it works, please submit a patch or at least let me know the exact changes and I can push out a fix for everyone.

- Jim

miketi...@gmail.com

unread,
Feb 28, 2012, 3:43:52 PM2/28/12
to test-analyt...@googlegroups.com
I got past gwt-user, but now the deploy is choking on this:
"Found a jar file too large to upload: "/tmp/appcfg4710443766102855322.tmp/WEB-INF/lib/appengine-tools-sdk-1.5.4.jar".  Consider using --enable_jar_splitting."

I cant find any other configuration blocks in Pom.xml that don't already have a  <splitJars>true</splitJars>  line.  I don't suppose there is any way to make that splitJars parameter global on deploy ? If not then it would make a nice enhancement.

btw I am a career system tester who programs a bit in VBScript (for QuickTest Pro) and has some limited software integration/ build experience.  I am building and deploying from an Ubuntu Linux 11.10 platform, if that makes a difference. You dont want me submitting patches for java apps, I am pretty sure :) .  I find the test-analytics concept fascinating, so would like to setup a private instance , at least when and if it gets more friendly.

regards, Mike


On Tuesday, February 28, 2012 1:24:33 PM UTC-5, Jim Reardon wrote:
gwt-user shouldn't be uploaded, according to some information I found.


Try the workaround mentioned in that bug ("If using Maven, use <scope>provided</scope> for the gwt-user dependency and make sure you have gwt-maven-plugin 2.2.0 or later"). If it works, please submit a patch or at least let me know the exact changes and I can push out a fix for everyone.

- Jim

Jim Reardon

unread,
Feb 28, 2012, 4:09:54 PM2/28/12
to test-analyt...@googlegroups.com
Try the workaround in this bug:


"<dependencies>

...
  <dependency>
    <groupId>net.kindleit</groupId>
    <artifactId>gae-runtime</artifactId>
    <version>${gae.version}</version>
    <type>pom</type>
  </dependency>
  ...
</dependencies>

and replace with:
<dependencies>
  ...
  <!-- Google App Engine -->
  <dependency>
    <groupId>com.google.appengine</groupId>
    <artifactId>appengine-api-1.0-sdk</artifactId>
    <version>${gae.version}</version>
  </dependency>
  ...
</dependencies>

miketi...@gmail.com

unread,
Feb 28, 2012, 5:24:44 PM2/28/12
to test-analyt...@googlegroups.com
That one didn't seem to help at all- still got the same error that the same jar is too big.. If you don't mind, it might be simpler for me to attach my most recent POM.xml. Attached.  I seem to have a few different references to Maven and mvn , probably not all are necessary.  One plugin reference to Maven-gae-plugin still refers to kindleit source (but I replaced the other 'dependency' as per below)  I have started and stopped this 'building test-analytics'  a few times since December, and seem to get a little closer to deploy each time. 

 I obfuscated my actual <groupId>appspot URL and email in the attached file.

I would simplify the POM if I knew what to put in/take out or had more time, but like most test people I am working a few other deadlines this week :(   . Thanks for your other quick responses - Mike
most recent POM dot XML.txt

miketi...@gmail.com

unread,
Feb 28, 2012, 7:04:09 PM2/28/12
to test-analyt...@googlegroups.com
I posted an attachment of my latest POM.xml via a separate post, which I don't blame you for not looking at yet :)  Meanwhile I ran an ascii diff of your stock POM.xml - freshly downloaded vs. my latest POM.xml using a tool called beyond compare 3.  Here are the diffs I found:
1  adding the <splitJars>true</splitJars>  lines to configuration blocks in the xml.. (expected)
2  The dependency change you just suggested in this thread for appengine dependency (expected)
3  names of <groupId>   and  <artifactId> to refer to my appspot and not Googles (expected)
4  the extra userid and passIn subnodes for <server> to refer to my appspot account(expected)
5 this block, which I must have added at some point when I last played with this in January, to get around some perceived earlier build problem:
<groupId>javax.jdo</groupId>
    <artifactId>jdo2-api</artifactId>
    <version>2.3-ec</version>
    <scope>runtime</scope>
  </dependency>
  <dependency>

I guess I could take this (5)  out and see if I can deploy ?
- mike

miketi...@gmail.com

unread,
Mar 2, 2012, 11:27:45 AM3/2/12
to test-analyt...@googlegroups.com
Update. 
I pulled down a clean build of test analytics

 Made these changes to pom.xml
1  adding the <splitJars>true</splitJars>  lines to configuration blocks in the xml.. 
2  The dependency change you just suggested in this thread for appengine dependency 
3  names of <groupId>   and  <artifactId> to refer to my appspot and not Googles 
4  the extra userid and passIn subnodes for <server> to refer to my appspot account
also changed:
test-analytics/source/browse/testanalytics_frontend/src/main/resources/WEB-INF/appengine-web.xml
To point to my appspot.
- But no joy, still getting "Unable to update app: Found a jar file too large to upload: "/tmp/appcfg4449458711795227432.tmp/WEB-INF/lib/appengine-tools-sdk-1.5.4.jar".  Consider using --enable_jar_splitting"
New pom.xml attached as pom.txt
- Mike
pom.txt

Jim Reardon

unread,
Mar 4, 2012, 1:59:26 PM3/4/12
to test-analyt...@googlegroups.com
What happens if you try changing

        <dependencies>
          <dependency>
            <groupId>net.kindleit</groupId>
            <artifactId>gae-runtime</artifactId>
            <version>${gae.version}</version>
            <type>pom</type>
          </dependency>
        </dependencies>

to:

  <!-- Google App Engine -->
  <dependency>
    <groupId>com.google.appengine</groupId>
    <artifactId>appengine-api-1.0-sdk</artifactId>
    <version>${gae.version}</version>
  </dependency>

?

miketi...@gmail.com

unread,
Mar 7, 2012, 6:32:23 PM3/7/12
to test-analyt...@googlegroups.com
No joy..  still get Found a jar file too large to upload: "/tmp/appcfg3394505900862564902.tmp/WEB-INF/lib/appengine-tools-sdk-1.5.4.jar".  Consider using --enable_jar_splitting.
I'm in a testing crunch so I only have time to look at this every other day or so right now.
Note each time I do a mvn gae:run   before doing mvn gae:deploy   The run is still always 'build successful'
Has anyone been successful deploying this to a local web server ?  If so, what server ?  Note I am running Ubuntu 11.10.
mpt
Reply all
Reply to author
Forward
0 new messages