problem deploying with maven

2010-07-01 Thread shirin
I have a gwt project and in this project I used gxt as well
I deployed the project with ant and it deployed and run properly. Now
I want to use maven to deploy it
I use GWT version 2.0.3 and in pom.xml I mentioned this version of GWT
After runing command "mvn clean install" I get this prompts:

com.google.gwt:gwt-dev:zip:windows-libs:2.0.3
Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.3 -Dclassifier=windows-libs -Dpackaging=zip -Dfile=/path/
to/file

Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -
Dversion=2.0.3 -Dclassifier=windows-libs -Dpackaging=zip -Dfile=/path/
to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.mypath:myApp:war:1.0-SNAPSHOT
2) com.google.gwt:gwt-dev:zip:windows-libs:2.0.3

2) com.google.gwt:gwt-dev:jar:windows:2.0.3

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.3 -Dclassifier=windows -Dpackaging=jar -Dfile=/path/to/
file

Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -
Dversion=2.0.3 -Dclassifier=windows -Dpackaging=jar -Dfile=/path/to/
file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.mypath:myApp:war:1.0-SNAPSHOT
2) com.google.gwt:gwt-dev:jar:windows:2.0.3

In the pom.xml file, I used  : 
http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
as maven repository but it is not up to date and I couldn't find gwt-
dev-windows-libs or gwt-dev-windows.jar version 2.03
In my ant project I just have gwt-dev.jar
Shall I use this jar file and install it as windows and windows-lib
files artifacts?
Any idea?

-- 
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: problem deploying with maven

2010-07-04 Thread shirin
Hi again
I fix the previous problem and now I have another one.
In pom.xml file , I added dependency to one another module which used
JAXP.
now when I deploy the project I see this error:

WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be
removed in a future release.
Use 'com.google.gwt.dev.Compiler' instead.
(To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM
arg.)
[ERROR] Failure while parsing XML
org.xml.sax.SAXNotRecognizedException: 
http://apache.org/xml/features/nonvalidating/load-external-dtd
at gnu.xml.aelfred2.JAXPFactory.setFeature(JAXPFactory.java:
102)
at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:320)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
$100(ReflectiveParser.java:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
398)
at
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
257)
at com.google.gwt.dev.cfg.ModuleDefLoader
$1.load(ModuleDefLoader.java:169)
at
com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
283)
at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:
141)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:155)
at com.google.gwt.dev.GWTCompiler$1.run(GWTCompiler.java:126)
at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
81)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:133)
[ERROR] Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:351)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
$100(ReflectiveParser.java:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
398)
at
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
257)
at com.google.gwt.dev.cfg.ModuleDefLoader
$1.load(ModuleDefLoader.java:169)
at
com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
283)
at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:
141)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:155)
at com.google.gwt.dev.GWTCompiler$1.run(GWTCompiler.java:126)
at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
81)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:133)

while without adding this additional module, the project deployed and
compiled properly. the version of GWT is 2.0.3. how can I ger rid of
this error

-- 
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.