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 9063145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:55:01+00:00 2026-06-16T15:55:01+00:00

Netbeans project, is it possible to build deploy(.war) file into domain’s autodeploy folder automatically

  • 0

Netbeans project, is it possible to build deploy(.war) file into domain’s autodeploy folder automatically, not in dist folder?
So that, it would be VERY useful to deploy project .war file to local glassfish server automatically.

  • 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-16T15:55:03+00:00Added an answer on June 16, 2026 at 3:55 pm

    You can automate almost all kinds of things, from compilation files processed by ant stages.

    • In project.properties file must add a reference for your end folder

    war.custom.dir=/path/to/end/folder/

    “this is not mandatory but is a correct method”

    • Then, in your build.xml file should add this chunk of code
       <target name="-post-dist">
           <echo message="Copy .war file to my custom folder"/>
           <copy file="${dist.war}" todir="${war.custom.dir}" />
       </target>
    

    And your file .war, will move wherever you want.

    Could also be changed your file in the build-impl.xml target “do-ear-dist”
    allowing directly effect the compression to your end folder.
    Or you could also modify references in your project to work on your end folder, the mechanism is really very simple to customize as you think best.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: R.java Missing in Android Project in NetBeans In Android I am Getting
I have a NetBeans java project. This project ( src folder) is composed of
I am running my project on NetBeans but I am not able to run
I'd like to build a netbeans project using ant passing a variable (-Dbuild.env=x) is
how to create a general project only containing one folder in netbeans 6.9? In
My java project build in jdk 7 . I want to convert it into
Possible Duplicate: Search and Replace Entire Project (Netbeans) Other IDE's have a feature to
I have a Netbeans project that has a source folder (outside the Netbeans project
I have a NetBeans project set up with a bunch of source classes and
I have a NetBeans project and the Mercurial repository is in the project root.

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.