I also tried with no success.

          FileOutputStream create = new FileOutputStream(ccFilename);
          create.close();

In Eclipse everything is working fine, but not if packed as an .aar and
deployed inside the axis-container.




Seem wrote:
> 
> Hi,
> 
> is it possible to create or update a file inside the .aar during the
> service process?
> Is there an examplary workaround?
> 
> I tried it like this:
> 
> String ccFilename = Name of the File anf not a FileObject
> ....
> try 
>         {
>               FileWriter create = new FileWriter(ccFilename);
>               create.close();
>         } 
> catch (IOException e)
>         {
>               System.err.println("<ContextStore> FATAL: file to read "
>                               +"consistent context was not found and could 
> not be created");
>         }
> 
> and I always got the IOE.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-or-write-to-an-existing-file-inside-.aar-during-runtime--tp21057898p21058316.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to