[jboss-user] [Beginner's Corner] - Re: JBoss deployment with ANT

Peter Johnson do-not-reply at jboss.com
Thu Sep 8 12:41:15 EDT 2011


Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: JBoss deployment with ANT"

To view the discussion, visit: http://community.jboss.org/message/625578#625578

--------------------------------------------------------------
Are you running standalone or domain? Have you looked at the scripts used to start AS 7? If you did, you would see that it uses -jar rather than identifying a main class. (If you look in the jar file its manifest identifes a main class.) Therefore I suspect you would change you <java> task to use the "jar" (and not the "classname") attribute. In addtion, you will also need to pass the other parameters that are new to AS 7.

If you need more help than that, post the full task (or better yet, the whole target) used to start JBoss AS.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625578#625578]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110908/14c56b47/attachment.html 


More information about the jboss-user mailing list