| |

VerySource

 Forgot password?
 Register
Search
Author: hero133

How to package a Web project into a publishable file (urgent)

[Copy link]

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-10 12:36:01
| Show all posts
Jbuilder selects the Build option in the properties of the web project and automatically packs it into a war.
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-10 13:00:01
| Show all posts
Jbuilder selects the Build option in the properties of the web project and automatically packs it into a war.
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-10 13:18:01
| Show all posts
Jbuilder selects the Build option in the properties of the web project and automatically packs it into a war.
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-16 17:54:02
| Show all posts
How to make it war
Reply

Use magic Report

0

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-17 18:09:01
| Show all posts
Go to the root directory of your Web App project and execute the following command:
jar cvf XXXXXX.war.

XXXXXX.war is the publishable file name you end up with. It must be .war. Note that the last point of the command cannot be less, which means that all files in the current directory are packaged.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-1-20 10:00:01
| Show all posts
For example, you have a web project named helloapp:
1. Enter the root directory of the helloapp project <CATALINA_HOME> / webapps / helloapp
2. Package the entire web application into a helloapp.war file, the command is as follows:
jar cvf helloapp.war *. *
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-22 12:18:02
| Show all posts
Just put your directory in the command line and use jar cvf test.war *. *, It's that simple
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-24 01:36:01
| Show all posts
Jbuilder can be directly packaged into War. Right-click on your web project, select Properties, and then change the Build properties.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-3 20:45:01
| Show all posts
Right-click on the project name in MyEclipse --->Export.. ---->Select WAR file under J2EE ------>next ----->Select the save directory---->Finish
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list