Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 resources

 
robin harvey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am struggling to figure out how to bundle supporting files (xml configs, xsl stylesheets etc.) in my .aar archives. What do I have to do to be able to reference one of these files from code? Currently, I'm bundling these files in the META-INF subdir of the .aar, but this doesn't work. For example, if I try to invoke an XSL transform using a stylesheet in the META-INF subdir of the archive, I get an error saying that the given stylesheet is not found in $CATALINA_HOME.

I know I could hard-code the path to the files, but I'd much rather that each service were self-contained, without platform dependencies.

Many thanks,
--Robin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic