Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:53:46+00:00 2026-06-09T22:53:46+00:00

I have a Google Web Toolkit project for which i include a second project

  • 0

I have a Google Web Toolkit project for which i include a second project into the build path. This other project has a lot of my commonly used functions and classes. Building the project works fine but to avoid run time errors i have to jar the second project into the WAR folder of the GAE project.
The process of jar/exporting the second project into the first is a manual process that i do with a right click in eclipse.

Is there a way to automate the process of jar/exporting to WAR of the second project into a location on the first?

Would i do this with an ANT script?
Or is there a way this can be done within Eclipse itself.

Thanks for you help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:53:46+00:00Added an answer on June 9, 2026 at 10:53 pm

    You are in for some reading mate 🙂

    Step 1 : Create a JAR of the first project ( Read this). In the jar task you could put as the path of your GAE’s folder lib as the destfile like so :

    <target name="jar">
            <jar basedir="bin" destfile="../GAE_PROJECT/war/WEB-INF/lib/${project-name}.jar">
                <manifest>
                    <attribute name="Built-By" value="${builder}" />
                    <attribute name="Built-On" value="${build-info.current-date}" />
                    <attribute name="Built-At" value="${build-info.current-time}" />
                </manifest>
            </jar>
        </target>
    

    Step 2 : Create the WAR for your GAE project ( Read the official documentation here ). The documentation shows how the jars in the lib are included :

     <fileset dir="war/WEB-INF/lib">
          <include name="**/*.jar" />
     </fileset>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have posted this on the Google Web Toolkit Discussion Group but hopefully you
Working with the Google Web Toolkit i have written an application which is based
I'm using the Google Web Toolkit (GWT) 2.1. I have a GWT Grid (which
I have a Google Web Toolkit application that I am deploying to Google App
I have a google web application project that I want to host on github.
I have a xml web service which I would like to track using Google
I have a layout in Google Web Toolkit using UIBinder involving a TabLayoutPanel .
I'm getting into Google Web Toolkit, and am a little confused about the Entry
I have recently started studying Google Web Toolkit. I have went through some walkthroughs,
I currently have a primary Java Web App Project which houses some Servlets, JSPs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.