remove old html ui link from adempiere home page. modify build for osgi deployment.

This commit is contained in:
Heng Sin Low 2010-07-13 16:12:15 +08:00
parent efc28ca782
commit c99f448a7f
2 changed files with 17 additions and 156 deletions

View File

@ -166,33 +166,11 @@ Start ADempiere via RUN_Adempiere </td>
</td> </td>
<td bgcolor="#fbf8f1"> <td bgcolor="#fbf8f1">
<p><a href="/webui">ADempiere ZK webUI</a> - contributed by Posterita</p> <p><a href="/webui">ADempiere webUI</a></p>
</td> </td>
</tr> </tr>
<tr>
<td bgcolor="#e9eef5" valign="top">
<h2><font color="#000000">Web Application</font></h2>
</td>
<td bgcolor="#fbf8f1">
<p><a href="/adempiere">ADempiere old UI HTML (alpha) (</a><a href="/adempiere/WStart">alternative)</a></p>
</td>
</tr>
<tr>
<td bgcolor="#e9eef5" valign="top">
<h2><font color="#000000">Web POS</font></h2>
</td>
<td bgcolor="#fbf8f1">
<p><a href="/posterita">Web Based POS</a> - contributed by Posterita</p>
</td>
</tr>
<tr> <tr>
<td bgcolor="#e9eef5" valign="top"> <td bgcolor="#e9eef5" valign="top">

View File

@ -4,146 +4,29 @@
<!-- ============================================= --> <!-- ============================================= -->
<!-- $Header: /cvs/adempiere/serverRoot/build.xml,v 1.4 2006/06/10 21:58:02 jjanke Exp $--> <!-- $Header: /cvs/adempiere/serverRoot/build.xml,v 1.4 2006/06/10 21:58:02 jjanke Exp $-->
<project name="adempiereRoot" default="main" basedir="."> <project name="adempiereRoot" default="plugin" basedir=".">
<!--<property environment="env"/>--> <!--<property environment="env"/>-->
<import file="../utils_dev/properties.xml"/> <import file="../utils_dev/properties.xml"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="src.main.dir" value="${src.dir}/main"/>
<property name="src.servlet.dir" value="${src.main.dir}/servlet"/>
<property name="src.server.dir" value="${src.main.dir}/server"/>
<property name="src.resources.dir" value="${src.dir}/resources"/>
<property name="src.web.dir" value="${src.dir}/web"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="build.tmp.dir" value="${build.dir}/tmp"/>
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
<property name="build.classes.dir" value="${build.dir}/classes"/>
<property name="build.war.dir" value="${build.dir}/war"/>
<target name="adempiereRootInit"> <target name="adempiereRootInit">
<echo message="=========== Build Server Root"/> <echo message="=========== Build Server Root"/>
</target> </target>
<target name="clean" description="delete class directory">
<delete>
<fileset dir="../lib/plugins">
<include name="org.adempiere.adempiereRoot*.jar"/>
</fileset>
</delete>
</target>
<path id="base.path"> <target name="plugin">
<pathelement location="../lib/Adempiere.jar" /> <buildPlugin workspaceDirectory="${workspace}"
<pathelement location="../lib/CSTools.jar" /> projectName="serverRoot"
<pathelement location="../tools/lib/j2ee.jar" /> targetPlatformId="target.platform"
<pathelement location="../tools/lib/jnlp.jar" /> destination="../lib"
<pathelement location="../tools/lib/servlet-api.jar" /> buildSourceJar="false"
<pathelement location="../tools/lib/mail.jar" /> clean="no"/>
<pathelement location="../tools/lib/bsh-1.3.0.jar" /> </target>
<pathelement location="../tools/lib/junit.jar" />
<pathelement location="../tools/lib/cron4j-2.2.1.jar" />
<pathelement location="../lib/oracle.jar" />
<pathelement location="../lib/postgresql.jar" />
<pathelement location="${build.classes.dir}" />
</path>
<!-- =========================================== -->
<!-- Compiles the source code -->
<!-- =========================================== -->
<target name="adempiereRootCompile" depends="adempiereRootInit">
<mkdir dir="${build.classes.dir}"/>
<!-- Compile all -->
<javac
target="1.5"
destdir="${build.classes.dir}"
debug="on"
deprecation="off"
optimize="on"
classpathref="base.path">
<src path="${src.servlet.dir}"/>
<src path="${src.server.dir}"/>
</javac>
</target>
<!-- =========================================== -->
<!-- Creates the jar archives -->
<!-- =========================================== -->
<target name="adempiereRootJar" depends="adempiereRootCompile">
<mkdir dir="${build.deploy.dir}"/>
<!-- Jar -->
<jar
jarfile="${build.deploy.dir}/adempiereRoot.jar">
<fileset
dir="${build.classes.dir}">
</fileset>
<fileset
dir="${build.dir}"
includes="META-INF/**">
</fileset>
<manifest>
<attribute name="Specification-Title" value="AdempiereRoot"/>
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}"/>
<attribute name="Specification-Vendor" value="Adempiere"/>
<attribute name="Implementation-Title" value="AdempiereRoot ${env.ADEMPIERE_VERSION}"/>
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}"/>
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}"/>
<attribute name="Implementation-URL" value="http://www.adempiere.com"/>
<attribute name="Class-Path" value="Adempiere.jar AdempiereSLib.jar"/>
</manifest>
</jar>
</target>
<!-- =========================================== -->
<!-- Creates the war archives -->
<!-- =========================================== -->
<target name="adempiereRootWar" depends="adempiereRootJar">
<war
warfile="${build.deploy.dir}/adempiereRootBase.war"
webxml="${src.web.dir}/WEB-INF/web.xml">
<!-- copy from web -->
<fileset dir="${src.web.dir}" excludes="**/web.xml,**/lib/**,**/classes/**"/>
<!-- WEB-INF/lib -->
<lib dir="${src.web.dir}/WEB-INF/lib"/>
<manifest>
<attribute name="Specification-Title" value="AdempiereRootWar"/>
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}"/>
<attribute name="Specification-Vendor" value="Adempiere"/>
<attribute name="Implementation-Title" value="AdempiereRootWar ${env.ADEMPIERE_VERSION}"/>
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}"/>
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}"/>
<attribute name="Implementation-URL" value="http://www.adempiere.com"/>
<attribute name="Class-Path" value="Adempiere.jar AdempiereSLib.jar"/>
</manifest>
</war>
</target>
<!-- =========================================== -->
<!-- Deploy Server Files -->
<!-- =========================================== -->
<target name="adempiereRootDeployServer" depends="adempiereRootJar,adempiereRootWar,adempiereRootCompile">
<copy todir="../lib">
<fileset dir="${build.deploy.dir}"/>
</copy>
</target>
<!-- =========================================== -->
<!-- Creates the binary structure -->
<!-- =========================================== -->
<target name="main" depends="adempiereRootDeployServer">
</target>
<!-- =========================================== -->
<!-- Cleans up the current build -->
<!-- =========================================== -->
<target name="clean">
<delete dir="${build.dir}" failonerror="false"/>
<delete file="../lib/adempiereRootBase.war"/>
<delete file="../lib/adempiereRoot.jar"/>
<delete file="../lib/adempiereRoot.xml"/>
</target>
</project> </project>