Date: 2005-03-06T09:04:49 Editor: DuncanMills Wiki: Apache Struts Wiki Page: BuildingShale URL: http://wiki.apache.org/struts/BuildingShale
no comment Change Log: ------------------------------------------------------------------------------ @@ -5,18 +5,17 @@ = IDEs = == JDeveloper 10.1.3 == -To get the Ant compile to run successfully in JDeveloper a couple of changes have to be made to the build.xml ''if'' you want to use the JSF RI as shipped with JDeveloper and the OC4J servlet API JARs rather than downloading a separate JSF RI and Tomcat just to keep the build script happy. -This assumes the use of JDeveloper 10.1.3 developer preview (J2EE edition) - === build.properties === - * The JSF RI jars are in {jdev-home}/jsf-ri - * The servet and JSP API jars are in {jdev-home}/j2ee/home/lib - - === build.xml === -A few property changes to make here: - * Change '''jsf-api.jar''' to use ''${jsf.home}/jsf-api.jar'' rather than ${jsf.home}/lib/jsf-api.jar - * Change '''jsf-impl.jar''' to use ''${jsf.home}/jsf-impl.jar'' rather than ${jsf.home}/lib/jsf-impl.jar - * Change '''jsp-api.jar''' to use ''${server.home}/ojsp.jar'' rather than ${server.home}/common/lib/jsp-api.jar - * Change '''servlet-api.jar''' to use ''${server.home}/servlet.jar'' rather than ${server.home}/common/lib/servlet-api.jar +To get the Ant compile to run successfully in JDeveloper a some extra settings have to be added to the build.properties to override locations defined in the build.xml ''if'' you want to use the JSF RI as shipped with JDeveloper and the OC4J servlet API JARs rather than downloading a separate JSF RI and Tomcat. +This assumes the use of JDeveloper 10.1.3 developer preview (J2EE edition). +Note the versions of the various Jakarta Commons libraries shipped in the JDeveloper install are lower than those needed for Shale, so you should separately download ''beanutils'', ''chain'', ''digester'' and ''logging'' and update your build.properties with the appropriate locations. + === Extra entries in build.properties === + * The JSF RI jars are in %JDEV_HOME%/jsf-ri + * The servet and JSP API jars are in %JDEV_HOME%/j2ee/home/lib and have different names from the Tomcat jars +So add these extra values to your build.properties file (copy the build.properties.sample that comes out of svn). Substitute the physical location of the JDeveloper Home for %JDEV_HOME% + ||jsf-api.jar||%JDEV_HOME%/jsf-ri/jsf-api.jar|| + ||jsf-impl.jar||%JDEV_HOME%/jsf-ri/jsf-impl.jar|| + ||jsp-api.jar||%JDEV_HOME%/j2ee/home/lib/ojsp.jar|| + ||servlet-api.jar||%JDEV_HOME%/j2ee/home/lib/servlet.jar|| --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]