Deploy module failing for linked module

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Deploy module failing for linked module

Postby eepgmik » Fri Jul 10, 2009 7:06 am

Hi,

I'm using version 7.1 of GWTDesigner in Eclipse and am trying to deploy a module that links to another project in Eclipse. I don't have the exact code or GWTDesigner to hand (I'll post it tonight). In version 6 it worked fine but now in 7 I'm getting an error with the prefix to the generated path to the other compiled project.

Basically all the working paths in the build.xml file begin with '@{dot}/' (or similar) but the failing one just begins with 'war/'. If I manually edit the XML file and change 'war/' to '{@dot}/' then the build runs fine but I have to manually choose the build.xml and run it. I much prefer just being able to RMB>...>Deploy.

It seems like a simple bug in the deploy code but of course I don't have access to that.

Thanks

Martin
eepgmik
 
Posts: 1
Joined: Fri Jul 10, 2009 6:58 am

Re: Deploy module failing for linked module

Postby Eric Clayberg » Sat Jul 11, 2009 5:26 am

I don't really understand the problem you are describing. I think we need to see a detailed (complete) example.

I created a GWT project and a Java library project for it.

The deployment script looks normal and generates what is expected (e.g., library jar in "war/WEB-INF/lib" folder)...

Code: Select all
    <target name="jars" description="Package up the module project and required projects as jars">
        <mkdir dir="war/WEB-INF/lib" />
        <!--=== GWT_0 ===-->
        <jar destfile='war/WEB-INF/lib/GWT_0.jar'>
            <fileset dir="C:/eclipse/runtime-workspace/GWT_0/src">
                <include name="**"/>
            </fileset>
            <fileset dir="C:/eclipse/runtime-workspace/GWT_0/war/WEB-INF/classes">
                <include name="**/*.class"/>
            </fileset>
        </jar>
        <!--=== GWT_Lib ===-->
        <jar destfile='war/WEB-INF/lib/GWT_Lib.jar'>
            <fileset dir="C:/eclipse/runtime-workspace/GWT_Lib/src">
                <include name="**"/>
            </fileset>
            <fileset dir="C:/eclipse/runtime-workspace/GWT_Lib/bin">
                <include name="**/*.class"/>
            </fileset>
        </jar>       
    </target>
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest