I figured it out. I changed my configuration to this:
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1.0</version>
<extensions>true</extensions>
<configuration>
<moduleName>com._3dmathpuzzles.play.Play</moduleName>
<webappDirectory>${basedir}/html/play</webappDirectory>
<systemProperties>
<gwt.persistentunitcachedir>false</gwt.persistentunitcachedir>
</systemProperties>
</configuration>
</plugin>
I don’t get the unit cache directory now.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
*From:* Neil Aggarwal <[email protected]>
*Sent:* Sunday, December 8, 2024 9:59 AM
*To:* '[email protected]' <
[email protected]>
*Subject:* RE: How to put output from GWT compile into my html directory?
I think I found it, I added this line to my configuration:
<webappDirectory>${basedir}/html/play</webappDirectory>
And it puts the nocache.js file generates to the html/play directory now.
Unfortunately, it also created a gwt-unitCache directory in my html
directory.
Anyone know how to stop that?
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
*From:* [email protected] <
[email protected]> *On Behalf Of *Craig Mitchell
*Sent:* Sunday, December 8, 2024 12:49 AM
*To:* GWT Users <[email protected]>
*Subject:* Re: How to put output from GWT compile into my html directory?
I feel your pain. The gwt-maven-plugin works great, but personally, I find
it hard to understand how to configure it.
This is my setup:
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
<moduleName>team.drift.EntryPointMain</moduleName>
<moduleShortName>dt</moduleShortName>
<workDir>${basedir}/target/gwt/workDir</workDir>
<deploy
>${project.build.directory}/${project.build.finalName}/WEB-INF/deploy</
deploy>
<compilerArgs>
* <!-- Ask GWT to create the Story of Your Compile (SOYC)
(gwt:compile) Report goes in:
drift-team-client\target\extras\dt\soycReport\compile-report\index.html
--> <!-- <arg>-compileReport</arg> -->* </compilerArgs>
</configuration>
</plugin>
I have no clue what workDir and deploy arguments do, and I can't find them
in the doco: https://tbroyer.github.io/gwt-maven-plugin/ The only reason
they are there, is I used
https://github.com/NaluKit/gwt-maven-springboot-archetype to generate my
app, and it put them there.
Another option would be to move it with the maven-resources-plugin
copy-resources after it's built. But that would mean it wouldn't work
during development.
On Sunday, 8 December 2024 at 4:01:44 pm UTC+11 Neil Aggarwal wrote:
Hello:
I am trying to integrate GWT into an existing maven project.
My maven build calls gwt:compile and it creates several files
in target/3dmp/com._3dmathpuzzles.play.Play
I would like that output to go to a different directory
html/play so it will be served directly by my httpd server.
NOTE: this directory is not under in the target directory
I don’t see anything about that in the GWT compiler options
documentation.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
--
You received this message because you are subscribed to the Google Groups
"GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/google-web-toolkit/8276d216-3ec1-4b78-b174-c7f4a78cd4dcn%40googlegroups.com
<https://groups.google.com/d/msgid/google-web-toolkit/8276d216-3ec1-4b78-b174-c7f4a78cd4dcn%40googlegroups.com?utm_medium=email&utm_source=footer>
.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/google-web-toolkit/b6db5ecf75fc08fb1ad7e8f2fcbd1e01%40mail.gmail.com.