Re: Using my own external jars
And what about RPC? Is this the solution, right? On 20 ene, 17:32, Eric erjab...@gmail.com wrote: On Jan 19, 4:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James He doesn't need to include the source files in the same jar. It is perfectly valid to build more than one file, presumably through Ant or Maven: module.jar module-src.jar module-javadoc.jar I would include module.gwt.xml in the source jar. But if he's trying to include third-party libraries without source code in his GWT compilation, he'll have problems. They should stay on the server. Respectfully, Eric Jablow -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
And what about RPC? Is this the solution, right? On 20 ene, 17:32, Eric erjab...@gmail.com wrote: On Jan 19, 4:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James He doesn't need to include the source files in the same jar. It is perfectly valid to build more than one file, presumably through Ant or Maven: module.jar module-src.jar module-javadoc.jar I would include module.gwt.xml in the source jar. But if he's trying to include third-party libraries without source code in his GWT compilation, he'll have problems. They should stay on the server. Respectfully, Eric Jablow -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
And what about RPC? Is this the solution, right? On 20 ene, 17:32, Eric erjab...@gmail.com wrote: On Jan 19, 4:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James He doesn't need to include the source files in the same jar. It is perfectly valid to build more than one file, presumably through Ant or Maven: module.jar module-src.jar module-javadoc.jar I would include module.gwt.xml in the source jar. But if he's trying to include third-party libraries without source code in his GWT compilation, he'll have problems. They should stay on the server. Respectfully, Eric Jablow -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Ok. This is what I've done at the moment. -I've added the external JARS. -I've added the source code to this JARS. ... And what about the gwt.xml file where I have to put it? On Jan 19, 9:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James On Jan 19, 10:14 am, Juan M.M.M. knn0n@gmail.com wrote: Ok. I'm developing my web application in eclipse. If I have my example.jar library already referenced (Referenced libraries section) in the project. Can I create the Example.gwt.xml file into the com.my.project.client section? Thanks for the answer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Place where you like but remeber that GWT compiler will look for client code in 'client' subpackage where xml is situated. 2010/1/20 Juan M.M.M. knn0n@gmail.com Ok. This is what I've done at the moment. -I've added the external JARS. -I've added the source code to this JARS. ... And what about the gwt.xml file where I have to put it? On Jan 19, 9:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James On Jan 19, 10:14 am, Juan M.M.M. knn0n@gmail.com wrote: Ok. I'm developing my web application in eclipse. If I have my example.jar library already referenced (Referenced libraries section) in the project. Can I create the Example.gwt.xml file into the com.my.project.client section? Thanks for the answer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Regards, Alexander -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Ok. I'm going crazy with this problem. http://www.flickr.com/photos/46306...@n05/4290746026/sizes/o/ --- There u can see my project structure and the error log when I try to join in the web application with firefox. I'm going crazy because I have allready done this for another .jar (commos-fileupload-1.2.jar) library but I can't do it with xmlutils2.0.jar and intimeclient1.0.jar. That's what I've tried: -Copying the .jar files into a lib folder created into the project IRn folder. Once the libraries are there click with the right button and then build path - add to build path. And then these .jar files automatically get into Referenced libraries section. -I've tried to the same than above point but before I've included the PATH of boths .jar into the CLASSPATH of bashrc file. -Also, I've tried to the same and after do this I've linked the source code of these libraries. What else can I try? Do you know any tutorial or manual about this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Ok. I'm going crazy with this problem. http://www.flickr.com/photos/46306...@n05/4290746026/sizes/o/ --- There u can see my project structure and the error log when I try to join in the web application with firefox. I'm going crazy because I have allready done this for another .jar (commos-fileupload-1.2.jar) library but I can't do it with xmlutils2.0.jar and intimeclient1.0.jar. That's what I've tried: -Copying the .jar files into a lib folder created into the project IRn folder. Once the libraries are there click with the right button and then build path - add to build path. And then these .jar files automatically get into Referenced libraries section. -I've tried to the same than above point but before I've included the PATH of boths .jar into the CLASSPATH of bashrc file. -Also, I've tried to the same and after do this I've linked the source code of these libraries. What else can I try? Do you know any tutorial or manual about this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Sorry I dont know what is happening -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
http://www.flickr.com/photos/46306...@n05/4290882114/sizes/o/ - Here there is more info about the structure of the project and .jar files that I want to use (intimeclien1.0.jar and xmlutils2.0.jar). Also I've created the XMLUtils.gwt.xml with this content: ** ?xml version=1.0 encoding=UTF-8? module rename-to='es.upv.xmlutils' inherits name='com.google.gwt.user.User' / inherits name=com.google.gwt.xml.XML / /module * And Intimeclient.gwt.xml with this content: ** ?xml version=1.0 encoding=UTF-8? module rename-to='es.ua.jpm' inherits name='com.google.gwt.user.User' / /module ** Is there any wrong sentece?. I'm renaming the modules (xxx.gwt.xml files) because they are not into .jar package. What's going on? thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
On Jan 19, 4:59 pm, jfagh jfa...@gmail.com wrote: Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James He doesn't need to include the source files in the same jar. It is perfectly valid to build more than one file, presumably through Ant or Maven: module.jar module-src.jar module-javadoc.jar I would include module.gwt.xml in the source jar. But if he's trying to include third-party libraries without source code in his GWT compilation, he'll have problems. They should stay on the server. Respectfully, Eric Jablow -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using my own external jars
hi ppl! This is the question. I want to use an external jar but i would like to use them without modify the .jar file. Is that possible? I know that I have to create a file .gwt.xml to set the inherit dependences of the files. But I would to know if there is another possibility to use the external jars. Is possible to have the .gwt.xml out off the jar file? Thanks!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
On Jan 19, 3:16 pm, Juan M.M.M. knn0n@gmail.com wrote: hi ppl! This is the question. I want to use an external jar but i would like to use them without modify the .jar file. Is that possible? I know that I have to create a file .gwt.xml to set the inherit dependences of the files. But I would to know if there is another possibility to use the external jars. Is possible to have the .gwt.xml out off the jar file? Of course! The gwt.xml needs be in the appropriate package, but in Java it doesn't matter whether it's on the same folder or JAR, only that it can be found on the classpath. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Ok. I'm developing my web application in eclipse. If I have my example.jar library already referenced (Referenced libraries section) in the project. Can I create the Example.gwt.xml file into the com.my.project.client section? Thanks for the answer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using my own external jars
Juan, Also, you need to include both .java and .class files in your JAR. And the .java files must not reference any unsupported libraries (i.e. those that cannot be translated from java to js by GWT) James On Jan 19, 10:14 am, Juan M.M.M. knn0n@gmail.com wrote: Ok. I'm developing my web application in eclipse. If I have my example.jar library already referenced (Referenced libraries section) in the project. Can I create the Example.gwt.xml file into the com.my.project.client section? Thanks for the answer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.