Hi all,
I'm deploying (trying to!) a WAR as follows:
public void deploy(String url)
{
Class mainDeployer=Class.forName("org.jboss.deployment.MainDeployer");
Method deploy=mainDeployer.getMethod("deploy",new Class[]{String.class});
deploy.invoke(mainDeployer.newInstance(),new Object[]{url});
}
In what format should the URL be passed to it?
This is how I'm doing it...
deploy("c:/installer.ear");
But that doesn't seem to work...can anyone tell me exactly what String should be pased?
Thanks...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832293#3832293
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832293
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user