Robert Mitwicki
2015-11-27 09:43:13 UTC
Hi,
I am trying to debug gwt plugin (reviewers plugins ) but I am having some
problems with that.
According to the documentation I used python script to generate staff for
eclipse.
Then I created fresh workspace imported gerrit + reviewers plugin into the
workspace.
Duplicated the lunch configuration 'gerrit_gwt_debug' and added my module
which now looks like this:
-noprecompile -src ${resource_loc:/gerrit} -workDir
${resource_loc:/gerrit}/buck-out/gen/gerrit-gwtui
com.google.gerrit.GerritGwtUI
com.googlesource.gerrit.plugins.reviewers.ReviewersForm -- --console-log
--show-stack-trace -d ${resource_loc:/gerrit}/../gerrit_testsite
When I am trying to run it I am getting error:
Loading Java files in com.google.gerrit.GerritGwtUI.
Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Module setup completed in 16211 ms Loading inherited module
'com.googlesource.gerrit.plugins.reviewers.ReviewersForm'
[ERROR] Unable to find
'com/googlesource/gerrit/plugins/reviewers/ReviewersForm.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
So editing the launch config again and in the Classpath tab -> Add Projects
... and select reviewers project.
Then when I am trying to run it again I am getting:
Loading Java files in com.google.gerrit.GerritGwtUI.
Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Module setup completed in 15665 ms
Loading Java files in
com.googlesource.gerrit.plugins.reviewers.ReviewersForm.
Ignored 184 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Finding entry point classes
[ERROR] Hint: Check that the type name
'com.googlesource.gerrit.plugins.reviewers.client.ReviewersPlugin' is
really what you meant
[ERROR] Hint: Check that your classpath includes all required source roots
Any idea what could be wrong? Did I missed something?
Thanks a lot in advance
best regards
Robert
I am trying to debug gwt plugin (reviewers plugins ) but I am having some
problems with that.
According to the documentation I used python script to generate staff for
eclipse.
Then I created fresh workspace imported gerrit + reviewers plugin into the
workspace.
Duplicated the lunch configuration 'gerrit_gwt_debug' and added my module
which now looks like this:
-noprecompile -src ${resource_loc:/gerrit} -workDir
${resource_loc:/gerrit}/buck-out/gen/gerrit-gwtui
com.google.gerrit.GerritGwtUI
com.googlesource.gerrit.plugins.reviewers.ReviewersForm -- --console-log
--show-stack-trace -d ${resource_loc:/gerrit}/../gerrit_testsite
When I am trying to run it I am getting error:
Loading Java files in com.google.gerrit.GerritGwtUI.
Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Module setup completed in 16211 ms Loading inherited module
'com.googlesource.gerrit.plugins.reviewers.ReviewersForm'
[ERROR] Unable to find
'com/googlesource/gerrit/plugins/reviewers/ReviewersForm.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
So editing the launch config again and in the Classpath tab -> Add Projects
... and select reviewers project.
Then when I am trying to run it again I am getting:
Loading Java files in com.google.gerrit.GerritGwtUI.
Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Module setup completed in 15665 ms
Loading Java files in
com.googlesource.gerrit.plugins.reviewers.ReviewersForm.
Ignored 184 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Finding entry point classes
[ERROR] Hint: Check that the type name
'com.googlesource.gerrit.plugins.reviewers.client.ReviewersPlugin' is
really what you meant
[ERROR] Hint: Check that your classpath includes all required source roots
Any idea what could be wrong? Did I missed something?
Thanks a lot in advance
best regards
Robert
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.