How can I deploy my XML file in OPS?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I deploy my XML file in OPS?

hugohugo64
Hi! everyone!

I have some question to ask everybody?
I saw OPS's toturial but I can't found about part of deploy XML ap in
OPS,so someone can tell me,how can deploy my XML file(***.xml¡Blike page-flow.xml¡Bpage-flow.xpl) in OPS?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How can I deploy my XML file in OPS?

Erik Bruchez
Administrator
The basics are not too difficult:

o Download a nightly build of OPS from:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

o Check the installation procedure for Tomcat:

   http://www.orbeon.com/ops/doc/intro-install

o You can now modify the files under:

   WEB-INF/resources

   In particular, you will find there page-flow.xml, etc., and all the
   examples under WEB-INF/resources/examples.

We plan to write "soon" a new tutorial and we also plan to reorganize
the directory structure and examples portal to make OPS easier to access
for beginners. In the meanwhile, I hope this helps.

-Erik

[hidden email] wrote:
> Hi! everyone!
>
> I have some question to ask everybody?
> I saw OPS's toturial but I can't found about part of deploy XML ap in
> OPS,so someone can tell me,how can deploy my XML file(***.xml¡Blike page-flow.xml¡Bpage-flow.xpl) in OPS?

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How can I deploy my XML file in OPS?

hugohugo64
Thank you for your response!

I just want ask you my question again!

If I wrote some xml file(like
model.xml、page-flow.xml、 view.xsl etc.) and I put
above xml file in my custom directory(or some called
folder) name is Test.

How can I wrote page-flow.xml file and perform my xml
file,Where can put this Test directory in OPS.

Sorry! call you tell me , because I just want to know.

thank you

小朱

___________________________________________________
 最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打!
 http://messenger.yahoo.com.tw/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How can I deploy my XML file in OPS?

Hank Ratzesberger

OK, let's assume we have tomcat installed on a
Windows desktop in C:\tomcat .  Now, we will
overwrite it's startup page because we can
reinstall after this testing.

You can use some program to unzip the ops.war
file, then copy the WEB-INF folder to
c:\tomcat\webapps\ROOT\WEB-INF
(copy over, not within...)

Start or restart tomcat.  Point your browser to
http://localhost:8080/
it _may_ work, but you probably need to make a
change or two to the file
c:\tomcat\webapps\ROOT\web.xml
and tell OPS where to look for files.  You would
uncomment a few lines at the top that look like this:

<!-- Uncomment this for the flat file resource manager -->
<context-param>
 <param-name>oxf.resources.filesystem.sandbox-directory</param-name>
 <param-value>c:/tomcat/webapps/ROOT/WEB-INF/resources</param-value>
</context-param>
<context-param>
 <param-name>oxf.resources.priority.1</param-name>
 <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value>
</context-param>

If that doesn't work, then you probably have to read closely
the tomcat documentation to understand just how to install it and
configure it to run applications.  

If your browser shows you the OPS site like
http://www.orbeon.com/ops/ 
then you can edit
c:\tomcat\webapps\ROOT\WEB-INF\resources\page-flow.xml
and add a page like
<page path-info="/Test" view="oxf:/Test/view.xsl" model="oxf:/Test/model.xsl" />

and besides possible caching issues, you should be able to
edit files and page-flow.xml and start testing things out.

Note:  the nightly builds are a little different, I am
explaining the download at http://www.orbeon.com/software/get-started

Regards,
Hank
UCSB


----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, August 23, 2006 5:48 PM
Subject: Re: [ops-users] How can I deploy my XML file in OPS?


> Thank you for your response!
>
> I just want ask you my question again!
>
> If I wrote some xml file(like
> model.xml?page-flow.xml? view.xsl etc.) and I put
> above xml file in my custom directory(or some called
> folder) name is Test.
>
> How can I wrote page-flow.xml file and perform my xml
> file,Where can put this Test directory in OPS.
>
> Sorry! call you tell me , because I just want to know.
>
> thank you
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws