On Tue, 2 Nov 2004 07:53:37 -0500, "Gregory Blajian" <[EMAIL PROTECTED]>
said:
> Any ideas what these should be (JDK_TOOL and JRE_JCE) in the Orbeon
> project?
> 

These are jars in the jdk/jre.  JDK_TOOL is tools.jar and
JRE_JCE is jce.jar.

Below are instructions for building that I sent out to the
list earlier.  ( Yes, at some point I need to put them in
somewhere reasonable... )

Made some changes that make it easier to debug Presentation Server in
Studio. To be clear, I am talking about debugging Presentation Server
itself rather  than an app built on Presentation Server.

Below is a synopsis of the set up steps followed by detailed explanation
description of the set up steps.

Synopsis : 
o Make sure you have build 1.0.2.200410250017 or higher of
  Studio. 
o Import orbeon project from sourceforge cvs. 
o Set prj vars JDK_TOOL to tools.jar and JRE_JCE to jce.jar. 
o In studio run the build.xml in the root of the project. 
o Select Run | Run... or Run | Debug... and select oxf-launch

Detail Description : 
o Make sure you have build 1.0.2.200410250017 or higher of Studio.
  The version is visible in the Help | About dialog.  

  At the moment only an unstable build is available.  To get 
  the unstable build via the Eclipse update mechanism :
  i.    Select Help | Software Updates | Find and Install...
  ii.   In the dialog select Search for new features to intall 
        and click Next.
  iii.  Click New Remote Site..., provide a name, and specify
        the URL 
        http://orbeon.sourceforge.net/unstable-blds/studio
  iv.   Check the checkbox next to the entry you created
        in the previous step and click Next.
  v.    Check the check box next to the latest 
        OXF Studio and click next.
  vi.   Agree to the license agreement and click next or
        click cancel.
  vii.  Click Finish.
  viii. When the jar signature warning dialog appears click
        Install.

o Import the orbeon project from CVS.
  i.    Select File | Import...
  ii.   Select Checkout Projects from CVS and click Next
  iii.  Specify
        Host: cvs.sourceforge.net
        Repository Path: /cvsroot/orbeon
        User: anonymous
        Password: Leave blank
        Connection type: pserver

        and click Next
  iv.   Specify the module name orbeon and click Finish.

o Set the JDK_TOOL and JRE_JCE variables.  
  i.    Select the project in the workspace and select 
        Project | Properties.
  ii.   Select Java Build Path and select Libraries
  iii.  Select JDK_TOOL and click Edit...
  iv.   Click Variable...
  v.    Click New...
  vi.   Enter the name JDK_TOOL and click File...
  vii.  Navigate to the tools.jar in your jdk install.
        It should be in the lib directory of the JDK.
        i.e.  <jdk>\lib\tools.jar
  viii. Click OK
  ix.   A dialog will ask if you want to rebuild now.  
        Click No.
  x.    Using steps similar to those above set 
        the variable JRE_JCE to
        <jdk>/jre/lib/jce.jar.  This time respond 'yes'
        to the rebuild prompt.
  xi.   Click OK out of each of the remaining dialogs.

  At this point Studio will build the project.  There
  will be a number of compile errors.  They will be
  resolved in the next step.

o In studio run the build.xml in the root of the project. 
  Right click on build.xml and select Run | 1 Ant Build.
  This will setup the WEB-INF directory.  You should only
  need to do this once.  

  Once the ant script has completed Studio will rebuild the
  workspace.  At this point there should not be any
  compile errors from the orbeon projects.  ( Warnings yes,
  errors, no. )

o Select Run | Run... or Run | Debug... to launch 
  Presentation Server.  In the Run dialog select
  oxf-launch and click the Run button. ( Button
  will be Debug if you selected Run | Debug... )

  You are now running ( or debugging ) the Presentation
  Server that was built by Studio. 

-- Dan S


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to