[jboss-cvs] jboss-profiler ...

Takuro Okada t2-okada at nri.co.jp
Thu Oct 26 04:43:48 EDT 2006


  User: tokada  
  Date: 06/10/26 04:43:48

  Added:       jboss-profiler      Tag: JBossProfiler_Expansion
                        project.properties build.xml .classpath readme.txt
                        .project
  Log:
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.2   +33 -0     jboss-profiler/project.properties
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: project.properties
  ===================================================================
  RCS file: project.properties
  diff -N project.properties
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ project.properties	26 Oct 2006 08:43:48 -0000	1.7.2.2
  @@ -0,0 +1,33 @@
  +compiler.target=1.5
  +compiler.source=1.5
  +compiler.encoding=utf-8
  +
  +src.dir=${basedir}/java/src
  +src.java.dir=${basedir}/java/src/expansion
  +src.webapp.dir=${basedir}/java/webapp
  +src.mbean.dir=${basedir}/java/mbean
  +build.dir=${basedir}/build
  +build.java.dir=${build.dir}/bin
  +build.webapp.dir=${build.dir}/webapp
  +lib.dir=${basedir}/java/libs
  +docs.dir=${basedir}/docs
  +
  +# Change these properties for the JBoss Application Server used.
  +jboss.dir=C:/Servers/jboss-4.0
  +jboss.lib.dir=${jboss.dir}/lib
  +jboss.server.lib.dir=${jboss.dir}/server/default/lib
  +
  +# Change these properties for the JBoss AOP used.
  +jboss.aop.lib.dir=${jboss.dir}/server/default/deploy/jboss-aop.deployer
  +jboss.aop.lib.jar=jboss-aop-jdk50.jar
  +
  +# Change these properties for the OpenLaszlo Development Kit used.
  +openlaszlo.dir=C:/Temp/openlaszlo-3.3.3
  +openlaszlo.lzc.args=--runtime=swf8 --dir ${build.webapp.dir}/lzx
  +openlaszlo.target.canvas=jbossprofiler.lzx
  +
  +deploy.dir=${jboss.dir}/server/default/deploy
  +
  +# This property is used to name .sar folder and .war file
  +service.name=jboss-profiler
  +
  
  
  
  1.37.2.2  +82 -0     jboss-profiler/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: build.xml
  diff -N build.xml
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ build.xml	26 Oct 2006 08:43:48 -0000	1.37.2.2
  @@ -0,0 +1,82 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +<project name="jboss-profiler-exp" default="deploy" basedir=".">
  +  
  +  <property file="project.properties" />
  +  
  +  <path id="build.classpath">
  +    <pathelement location="${build.java.dir}"/>
  +    <fileset dir="${lib.dir}" includes="*.jar"/>
  +    <fileset dir="${jboss.lib.dir}" includes="log4j-boot.jar"/>
  +    <fileset dir="${jboss.server.lib.dir}" includes="javax.servlet.jar"/>
  +    <fileset dir="${jboss.aop.lib.dir}" includes="${jboss.aop.lib.jar}"/>
  +  </path>
  +  
  +  <path id="openlaszlo.build.classpath">
  +    <pathelement location="${openlaszlo.dir}/WEB-INF/lps/server/build"/>
  +    <pathelement location="${openlaszlo.dir}/WEB-INF/classes"/>
  +    <fileset dir="${openlaszlo.dir}/3rd-party/jars/dev" includes="*.jar"/>
  +    <fileset dir="${openlaszlo.dir}/WEB-INF/lib" includes="*.jar"/>
  +  </path>
  +  
  +  <target name="compile-java">
  +    <delete dir="${build.dir}"/>
  +    <mkdir dir="${build.dir}"/>
  +    <mkdir dir="${build.java.dir}"/>
  +    <javac srcdir="${src.java.dir}" destdir="${build.java.dir}"
  +           classpathref="build.classpath"
  +           encoding="${compiler.encoding}"
  +           target="${compiler.target}" source="${compiler.source}" compiler="modern" fork="no" optimize="off"
  +           debug="on" nowarn="on" verbose="off">
  +      <compilerarg value="-Xlint:unchecked"/>
  +    </javac>
  +  </target>
  +  
  +  <target name="compile-webapp">
  +    <mkdir dir="${build.webapp.dir}"/>
  +    <input message="This script applies some patches to LPS components in ${openlaszlo.dir}. Do you want to continue? " validargs="y,n" addproperty="openlaszlo.updatable"/>
  +    <condition property="openlaszlo.update.abort">
  +      <equals arg1="n" arg2="${openlaszlo.updatable}"/>
  +    </condition>
  +    <fail if="openlaszlo.update.abort">Build was interrupted by the user.</fail>
  +    <copy todir="${openlaszlo.dir}/lps" overwrite="yes">
  +      <fileset dir="${src.webapp.dir}/lps" includes="**/*"/>
  +    </copy>
  +    <java classpathref="openlaszlo.build.classpath" classname="org.openlaszlo.compiler.Main"
  +          fork="yes">
  +      <jvmarg value="-DLPS_HOME=${openlaszlo.dir}"/>
  +      <arg line="${openlaszlo.lzc.args} ${src.webapp.dir}/lzx/${openlaszlo.target.canvas}"/>
  +    </java>
  +  </target>
  +  
  +  <target name="jar" depends="compile-java">
  +    <jar jarfile="${build.dir}/${service.name}.jar">
  +      <fileset dir="${build.java.dir}"/>
  +    </jar>
  +  </target>
  +  
  +  <target name="war" depends="compile-webapp">
  +    <copy todir="${build.webapp.dir}">
  +      <fileset dir="${src.webapp.dir}" includes="*.html"/>
  +    </copy>
  +    <war warfile="${build.dir}/${service.name}.war" webxml="${src.webapp.dir}/WEB-INF/web.xml">
  +      <fileset dir="${build.webapp.dir}" includes="**/*"/>
  +    </war>
  +  </target>
  +  
  +  <target name="deploy" depends="jar,war">
  +    <delete dir="${deploy.dir}/${service.name}.sar"/>
  +    <mkdir dir="${deploy.dir}/${service.name}.sar"/>
  +    <copy todir="${deploy.dir}/${service.name}.sar">
  +      <fileset dir="${lib.dir}" includes="*.jar"/>
  +      <fileset file="${build.dir}/${service.name}.jar"/>
  +    </copy>
  +    <mkdir dir="${deploy.dir}/${service.name}.sar/META-INF"/>
  +    <copy todir="${deploy.dir}/${service.name}.sar/META-INF" file="${src.mbean.dir}/jboss-service.xml"/>
  +    <copy todir="${jboss.dir}/docs/licenses">
  +      <fileset dir="${docs.dir}/licenses" includes="*.txt"/>
  +    </copy>
  +    <delete file="${deploy.dir}/${service.name}.war"/>
  +    <copy todir="${deploy.dir}" file="${build.dir}/${service.name}.war"/>
  +  </target>
  +  
  +</project>
  
  
  
  1.18.2.2  +8 -0      jboss-profiler/.classpath
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .classpath
  ===================================================================
  RCS file: .classpath
  diff -N .classpath
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ .classpath	26 Oct 2006 08:43:48 -0000	1.18.2.2
  @@ -0,0 +1,8 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +<classpath>
  +	<classpathentry kind="src" path="java/src/expansion"/>
  +	<classpathentry output="build/test" kind="src" path="java/src/tests"/>
  +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  +	<classpathentry kind="lib" path="java/libs/javolution.jar"/>
  +	<classpathentry kind="output" path="build/bin"/>
  +</classpath>
  
  
  
  1.10.2.2  +36 -0     jboss-profiler/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: readme.txt
  diff -N readme.txt
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ readme.txt	26 Oct 2006 08:43:48 -0000	1.10.2.2
  @@ -0,0 +1,36 @@
  +REQUIREMENT
  +
  +- JDK 5.0
  +- JBoss AOP 1.5
  +- OpenLaszlo 3.3 (Development Kit)
  +
  +
  +BUILDING AND DEPLOYING
  +
  +1. Edit the project.properties file for your environment.
  +2. Run Apache Ant.
  +
  +
  +LICENSING
  +
  +This is free software; you can redistribute it and/or modify it
  +under the terms of the GNU Lesser General Public License as
  +published by the Free Software Foundation; either version 2.1 of
  +the License, or (at your option) any later version.
  +
  +This software is distributed in the hope that it will be useful,
  +but WITHOUT ANY WARRANTY; without even the implied warranty of
  +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  +Lesser General Public License for more details.
  +
  +You should have received a copy of the GNU Lesser General Public
  +License along with this software; if not, write to the Free
  +Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  +02110-1301 USA, or see the FSF site: http://www.fsf.org.
  +
  +
  +COPYRIGHT
  +
  +Copyright 2006, JBoss Inc.
  +Copyright 2006 Nomura Research Institute, Ltd. All Rights Reserved.
  +Copyright(c) Information-technology Promotion Agency, Japan. All rights reserved 2006.
  
  
  
  1.4.2.2   +17 -0     jboss-profiler/.project
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .project
  ===================================================================
  RCS file: .project
  diff -N .project
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ .project	26 Oct 2006 08:43:48 -0000	1.4.2.2
  @@ -0,0 +1,17 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +<projectDescription>
  +	<name>jboss-profiler-expansion</name>
  +	<comment></comment>
  +	<projects>
  +	</projects>
  +	<buildSpec>
  +		<buildCommand>
  +			<name>org.eclipse.jdt.core.javabuilder</name>
  +			<arguments>
  +			</arguments>
  +		</buildCommand>
  +	</buildSpec>
  +	<natures>
  +		<nature>org.eclipse.jdt.core.javanature</nature>
  +	</natures>
  +</projectDescription>
  
  
  



More information about the jboss-cvs-commits mailing list