Create  a URL from ur file
URL fileURL = new URL("c:/xxx.ear")
and return teh fileURL.toString to the deploy method, thats the format it 
expects(starting with file:///c:/xxx.ear)

Anyway, the better way to deploy would be to get the current instance of MainDeployer 
rather than creating one like this. I believe i posted a way to do this earlier for a 
question of urs.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832296#3832296

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832296


-------------------------------------------------------
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

Reply via email to