Re: How to run .exe file located inside .aar

2009-12-03 Thread Kevin Alonso
Thank you for your help. Finally I solved the problem extracting exe from .aar to a temporal file. and then executing it. Regards, Kevin. Philippe A. escribió: That doesn't address directly your problem, but I strongly recommend you have a look at Jakarta Commons Exec. It will save you lots

Re: How to run .exe file located inside .aar

2009-11-30 Thread Philippe A.
That doesn't address directly your problem, but I strongly recommend you have a look at Jakarta Commons Exec. It will save you lots of trouble. http://commons.apache.org/ 2009/11/27 Kevin Alonso > I get the path of the file: > > URL url = > getClass().getClassLoader().getResource("ColorCluster

Re: How to run .exe file located inside .aar

2009-11-30 Thread Jens Goldhammer
ch is the path I have to use in the instruction... >>> >>> Process p = Runtime.getRuntime().exec("execution.exe"); >>> >>> Is there another way to do this? >>> >>> Thank you in advance. >>> >>> Kevin. >>> >> >> > > -- View this message in context: http://old.nabble.com/How-to-run-.exe-file-located-inside-.aar-tp26530546p26572260.html Sent from the Axis - User mailing list archive at Nabble.com.

Re: How to run .exe file located inside .aar

2009-11-27 Thread Kevin Alonso
I get the path of the file: URL url = getClass().getClassLoader().getResource("ColorClusteringFroga.exe"); String path = url.getPath(); (Path: C:/Program Files/Apache Software Foundation/Tomcat 6.0/temp/axis2-tmp-5629 138317308731761.tmp/axis2

Re: How to run .exe file located inside .aar

2009-11-26 Thread Deepal jayasinghe
One way to do this is you can put the exe file somewhere else and you can define the location from a parameter (in services.xml) and then use the value of the parameter to load the exe file. One other way is you can get the URI of the exe file from axisservice, and you may try to execute it from th

How to run .exe file located inside .aar

2009-11-26 Thread Kevin Alonso
Hello, I have a web service that needs to call an .exe file and it is into the .aar file. How can I do this? Which is the path I have to use in the instruction... Process p = Runtime.getRuntime().exec("execution.exe"); Is there another way to do this? Thank you in advance. Kevin.