google-code-export / rocket-gwt

Automatically exported from code.google.com/p/rocket-gwt
1 stars 1 forks source link

Import of JUnit when compiling JsonRpcClient code #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a simple service extending the JsonRpsService interface
2. Add the Rocket.jar to the classpath of the compilation script

What is the expected output? What do you see instead?
The compilation fails due a NoClassDefFoundError, caused by the 
    <inherits name="com.google.gwt.junit.JUnit"/>
in rocket/generator/Generator.gwt.xml. I would expect that when simply
compiling client code I should not have to import the JUnit library.

What version of the product are you using? On what operating system?
0.56, Ubuntu 8.04, Sun JDK 1.6.0_07-b06 (32-bit)

Please provide any additional information below.

It's easy enough to just go ahead and quickly edit the compilation script
to add the JUnit library, but it really shouldn't be there.  Perhaps you
could move the unit tests into a separate module, thus keeping a clean
separation of the production and test code.

Original issue reported on code.google.com by akpr...@gmail.com on 28 Dec 2008 at 5:04