Subject:How to deploy pipeline Author:Steve Cuzner Date:06 Aug 2008 11:13 PM
I've build a nice little pipeline in Stylus studio. The individual xslt transforms work. The pipeline works in the IDE. I can generate java and add bindings to the public input and output ports so that I can specify with command line arguments what my input and output xml files should be. It works great. However, when I deploy to a user, I get java errors about not finding the xslt stylesheet and the error message indicates that it is looking in my home directory which is where I developed the app.
The init method of the generated java has a relative path:
and that path is retained in the deployed version, relative to the working directory of the class file. The only thing in the generated java source is a reference to the pipeline file found in the class constructor:
There doesn't seem to be any documentation about how to actually deploy pipeline apps once you build them, so I'm flying blind. What do I need to do to actually deploy this to my users?
To deploy you application you will simply xcopy "MyProject" and change the constructor parameter to the new location, for example file:///c:/Deployed/MyProject/