Re: How to run java WAR file project in command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ranjith <ranjith.k@xxxxxxxxxxx> [2010-08-19 14:03]:
> Hi all,
>      Using apache-ant i compiled a java project what i did is created it
> into war file and deployed on tomcat. what i need is how to deploy the same
> war file in command line.
>

What do you mean by 'deploy the same war file in command line'? Running
ant from command-line is doing just that -- deploying the webapp by
copying it to the right location for Tomcat to see.

Does one of the classes have a main() you want to execute?

Deepak

> note :
> I don`t want to run it on localhost everything should be executed in command
> line.
> Thanks in advances
> 
> -- 
> Cheers,
> Ranjith Kumar.K
> http://ranjithtenz.wordpress.com

> --
> java-devel mailing list
> java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/java-devel

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux