wokier / gwt-crypto

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

How do I incorporate the gwt-crypto jar into my project using the straight up GWT SDK? #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the jar.
2. Wonder what to do
3. Watch compile fail

I am using the straight up GWT SDK without maven or eclipse, and up until now I 
have been very happy that way. However, I am trying to use gwt-crypto and I 
have no idea where to put the jar or how to modify my build.xml, or even if I 
need to modify my build.xml. Can someone please tell me how to incorporate the 
gwt-crypto jar into my project if I am using the straight up GWT SDK and ant?

James

Original issue reported on code.google.com by mstrfl...@gmail.com on 26 Feb 2013 at 3:39

GoogleCodeExporter commented 9 years ago
It's been a while since I used this, but we just add the jar file to our 
classpath (in ant, though I suppose you could add it to the javac classpath 
manually) and compile against it.  Then you need to include it in the classpath 
when you run the GWT compiler, and you need to have your GWT module inherit 
from the gwt-crypto module.  

Here's how to do it for another google project--just use the gwt crypto module 
instead of the charts tool module: 
https://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted

Original comment by moor...@gmail.com on 27 Feb 2013 at 4:38

GoogleCodeExporter commented 9 years ago
OK, sorry, this turned out to be my issue. This is the second jar I am
trying to use. The first one did not have a gwt.xml file to inherit, and I
looked but missed that gwt-crypto had one. So I thought I was missing
something impprtant about how to use gwt jars.

gwt-crypto jar into my project using the straight up GWT SDK?

classpath (in ant, though I suppose you could add it to the javac classpath
manually) and compile against it.  Then you need to include it in the
classpath when you run the GWT compiler, and you need to have your GWT
module inherit from the gwt-crypto module.

module instead of the charts tool module:
https://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted

Original comment by mstrfl...@gmail.com on 28 Feb 2013 at 5:42

GoogleCodeExporter commented 9 years ago
See https://code.google.com/p/gwt-crypto/wiki/Usage

Original comment by wokier on 10 May 2013 at 1:55