How to run GWTP samples (gwtp-sample-tab) in eclipse?

218 views
Skip to first unread message

Mohit Kumar

unread,
Mar 17, 2015, 11:35:15 AM3/17/15
to gwt-pl...@googlegroups.com
Hi Everyone,

I am trying to learn GWTP and after successfully running the auto-generated hello world app, I am trying to execute GWTP samples in Eclipse (Luna).

So far, I have :

1. Checked out the GWTP samples from the AcrBees Github repo (https://github.com/ArcBees/GWTP-Samples.git).
2. Imported the gwtp-sample-tab in eclipse as an existing maven project.
3. Tried to "Run as" Maven Build... with goals as "install" 
    which resulted in:
 [INFO] Scanning for projects...
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building GWTP Samples - Tab 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.14:checkstyle (validate) @ gwtp-sample-tab ---
[WARNING] The POM for com.arcbees:checkstyle:jar:1.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.254 s
[INFO] Finished at: 2015-03-17T20:55:26+05:30
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:checkstyle (validate) on project gwtp-sample-tab: Execution validate of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:checkstyle failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.14 or one of its dependencies could not be resolved: Failure to find com.arcbees:checkstyle:jar:1.1-SNAPSHOT in http://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

4. From Command Prompt I tried mvn gwt:run, which resulted in:

>mvn gwt:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GWTP Samples - Tab 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> gwt-maven-plugin:2.7.0:run (default-cli) > process-classes @ gwtp-sample-tab >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.14:checkstyle (validate) @ gwtp-sample-tab ---
[WARNING] The POM for com.arcbees:checkstyle:jar:1.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.725 s
[INFO] Finished at: 2015-03-17T20:37:59+05:30
[INFO] Final Memory: 11M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:checkstyle (validate) on project gwtp-sample-tab: Execution validate of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:checkstyle failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.14 or o
ne of its dependencies could not be resolved: Failure to find com.arcbees:checkstyle:jar:1.1-SNAPSHOT in http://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [H
elp 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

What should I do to run and debug this sample on my machine using Eclipse?

Also, my pom.xml shows errors.

I am new to Maven and GWTP, so please feel free to point me to any good starter tutorial on these.

Regards,
Mohit

Christian Goudreau

unread,
Mar 24, 2015, 5:21:51 PM3/24/15
to gwt-pl...@googlegroups.com
Can you try again? There was a known bug in the latest checkstyle which I think has been fixed by now.

Samples are always in sync with latest snapshot of GWTP and may be unstable at time.

Christian Goudreau | CEO - Président

--
You received this message because you are subscribed to the Google Groups "GWTP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-platform...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages