Thanks,
but can you send me the whole thing? I want to have an electronic copy
of the entire document.
Thanks
Guido
squ...@li... wrote:
> Send Squirrel-sql-develop mailing list submissions to
> squ...@li...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
> or, via email, send a message with subject or body 'help' to
> squ...@li...
>
> You can reach the person managing the list at
> squ...@li...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Squirrel-sql-develop digest..."
>
>
> Today's Topics:
>
> 1. Java Web Start version (Nigel Ramsay)
>
> --__--__--
>
> Message: 1
> Date: Sat, 23 Nov 2002 17:39:19 +1300
> From: Nigel Ramsay <nig...@we...>
> To: squ...@li...
> Subject: [Squirrel-sql-develop] Java Web Start version
>
> This is a multi-part message in MIME format.
> --------------080608060108020000070805
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Hi everyone
>
> I am an active user of Squirrel SQL. I noticed that someone has
> requested a Java Web Start feature, and I think it would be useful too.
>
> I'm not too sure on what the procedure is for becoming involved on open
> source projects, or submitting 'patches'. Maybe someone can fill me in,
> or send me a link.
>
> Anyway, what I have done is:
>
> 1. Created a new Ant task to prepare and sign the relevant JAR files
> 2. Created a preliminary version of "squirrel.jnlp"
> 3. Tested from my own local web server
>
> Everything seems to work fairly well. The assumptions I have used are:
>
> 1. The jnlp file, and the JARs, the logo will get deployed to
> "http://squirrel-sql.sourceforge.net/jws/"
> 2. A signing key has been created called "squirrel"
> 3. The keystore is located at "./build/keystore"
>
> To create the new key and keystore, I used the following command line:
> keytool -genkey -alias squirrel -keystore keystore
>
> I think that is it. I have attached the new build.xml and squirrel.jnlp
> files.
>
> What can I do next to help getting this installed and running the
> SourceForge website?
>
> Thanks
>
> Nigel Ramsay
>
> --------------080608060108020000070805
> Content-Type: text/xml;
> name="build.xml"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
> filename="build.xml"
>
> <?xml version="1.0"?>
>
> <!--
> This is an Apache Ant build file for Squirrel SQL Client.
> -->
> <project name="Squirrel-SQL-Client" default="help" basedir="../">
> <!--
> ===================================================================
> Initialization target
> No parameters.
> ===================================================================
> -->
> <target name="init">
> <tstamp/>
> <property name="name" value="squirrel-sql"/>
> <property name="version" value="1.1final"/>
>
> <property name="dist_dir" value="${basedir}/../squirrel-sql-dist/${name}-${version}"/>
> <property name="core_dist_dir" value="${dist_dir}/core/dist"/>
> <property name="core_jws_dir" value="${dist_dir}/core/jws"/>
> <property name="core_work_dir" value="${dist_dir}/core/work"/>
> <property name="core_obj_dir" value="${core_work_dir}/obj"/>
> <property name="core_dist_lib_dir" value="${core_dist_dir}/lib"/>
> <property name="core_dist_doc_dir" value="${core_dist_dir}/doc"/>
> <property name="plugins_src_dir" value="${basedir}/plugins"/>
> <property name="plugins_dist_dir" value="${dist_dir}/plugins"/>
>
> <property name="plugin_build_file_name" value="plugin_build.xml"/>
> <property name="plugin_build_target_name" value="build"/>
>
> <property name="debug" value="on"/>
> <property name="optimize" value="off"/>
> <property name="deprecation" value="on"/>
>
> <property environment="env"/>
> <echo message="ANT HOME: ${env.ANT_HOME}"/>
> <echo message="JAVA HOME: ${env.JAVA_HOME}"/>
> </target>
>
> <!--
> ==================================================================
> Help on command usage.
> No parameters.
> ==================================================================
> -->
> <target name="help" depends="init">
> <echo message=""/>
> <echo message="${name} ${version} Build tool"/>
> <echo message="-------------------------------------------------------"/>
> <echo message=" Usage:"/>
> <echo message=" build <target>"/>
> <echo message=""/>
> <echo message=" Available targets are:"/>
> <echo message=""/>
> <echo message=" compile_fw: Compiles the base framework classes to:"/>
> <echo message=" ${core_obj_dir}"/>
> <echo message=""/>
> <echo message=" compile_app: Compiles the SQuirreL client app to:"/>
> <echo message=" ${core_obj_dir}"/>
> <echo message=" after building compile_fw."/>
> <echo message=""/>
> <echo message=" compile_plugins: Compiles all plugins to:"/>
> <echo message=" ${plugins_dist_dir}"/>
> <echo message=" after building compile_app."/>
> <echo message=""/>
> <echo message=" jar_source: Jars the source for the framework and application to:"/>
> <echo message=" ${core_dist_dir}/src}"/>
> <echo message=""/>
> <echo message=" make_dist: Executes jar_source."/>
> <echo message=" Eventually this should run an Ant Task to generate the IzPack JAR."/>
> <echo message=""/>
> <echo message=" clean: Removes class files, old versions of source etc."/>
> <echo message="--------------------------------------------------------"/>
> <echo message=""/>
> </target>
>
> <!--
> ==================================================================
> Setup
> ==================================================================
> -->
> <target name="setup" depends="init">
> <mkdir dir="${core_obj_dir}"/>
> <mkdir dir="${core_jws_dir}"/>
> <mkdir dir="${core_dist_lib_dir}"/>
> <mkdir dir="${core_dist_doc_dir}"/>
> <mkdir dir="${core_dist_dir}/src"/>
> <mkdir dir="${core_dist_dir}/plugins"/>
> </target>
>
> <!--
> ==================================================================
> Compile the framework classes.
> No parameters.
> ==================================================================
> -->
> <target name="compile_fw" depends="setup">
> <echo message="---------------- Framework ----------------"/>
> <javac srcdir="fw/src"
> destdir="${core_obj_dir}"
> deprecation="${deprecation}"
> debug="${debug}"
> optimize="${optimize}"
> includeJavaRuntime="yes">
> <classpath>
> <fileset dir="fw/lib">
> <include name="**/*.*"/>
> </fileset>
> </classpath>
> </javac>
>
> <copy todir="${core_obj_dir}" >
> <fileset dir="fw/src" >
> <include name="**/*.gif"/>
> <include name="**/*.jpg"/>
> <include name="**/*.jpeg"/>
> <include name="**/*.png"/>
> <include name="**/*.html"/>
> <include name="**/*.xml"/>
> <include name="**/*.properties"/>
> </fileset>
> </copy>
>
> <copy todir="${core_dist_lib_dir}">
> <fileset dir="fw/lib">
> <include name="**/*.*"/>
> </fileset>
> </copy>
>
> <jar jarfile="${core_dist_lib_dir}/fw.jar" compress="false">
> <fileset dir="${core_obj_dir}">
> <include name="com/**/*.*"/>
> <include name="net/sourceforge/squirrel_sql/fw/**/*.*"/>
> </fileset>
> </jar>
> </target>
>
> <!--
> ==================================================================
> Compile the client app classes.
> No parameters.
> ==================================================================
> -->
> <target name="compile_app" depends="compile_fw">
> <echo message="---------------- ${name} ${version} ----------------"/>
> <javac srcdir="app/src"
> destdir="${core_obj_dir}"
> deprecation="${deprecation}"
> debug="${debug}"
> optimize="${optimize}"
> includeJavaRuntime="yes">
> <classpath>
> <fileset dir="fw/lib">
> <include name="**/*.*"/>
> </fileset>
> </classpath>
> </javac>
> <copy todir="${core_obj_dir}" >
> <fileset dir="app/src" >
> <include name="**/*.gif"/>
> <include name="**/*.jpg"/>
> <include name="**/*.jpeg"/>
> <include name="**/*.png"/>
> <include name="**/*.html"/>
> <include name="**/*.xml"/>
> <include name="**/*.properties"/>
> <include name="**/*.txt"/>
> </fileset>
> </copy>
>
> <jar jarfile="${core_dist_lib_dir}/${name}.jar" compress="false"
> manifest="build/MANIFEST.MF">
> <fileset dir="${core_obj_dir}">
> <include name="net/sourceforge/squirrel_sql/client/**/*.*"/>
> </fileset>
> </jar>
>
> <copy todir="${core_dist_dir}" >
> <fileset dir="app/cmd" >
> <include name="**/*.*"/>
> </fileset>
> </copy>
> <chmod file="${core_dist_dir}/*.sh" perm="ugo+rx"/>
>
> <copy todir="${core_dist_doc_dir}" >
> <fileset dir="doc" >
> <include name="**/*.*"/>
> </fileset>
> </copy>
>
> <copy todir="${core_dist_dir}/icons" >
> <fileset dir="app/icons" >
> <include name="**/*.*"/>
> </fileset>
> </copy>
>
> <echo message="Unzip your plugins here"
> file="${core_dist_dir}/plugins/readme.txt">
> </echo>
> </target>
>
> <!--
> ==================================================================
> Compile the plugins.
> No parameters.
> ==================================================================
> -->
> <target name="compile_plugins" depends="compile_app">
> <!-- <antcall target="build_plugin">
> <param name="p_internal_name" value="dataimport"/>
> </antcall> -->
> <!-- <antcall target="build_plugin">
> <param name="p_internal_name" value="dbinfo"/>
> </antcall>-->
> <!-- <antcall target="build_plugin">
> <param name="p_internal_name" value="favs"/>
> </antcall>-->
> <antcall target="build_plugin">
> <param name="p_internal_name" value="jedit"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="laf"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="mysql"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="oracle"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="sessionscript"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="sqlscript"/>
> </antcall>
> <antcall target="build_plugin">
> <param name="p_internal_name" value="sqlval"/>
> </antcall>
> </target>
>
> <!--
> ==================================================================
> Jar up the FW and client source.
> No parameters.
> ==================================================================
> -->
> <target name="jar_source" depends="setup">
> <jar jarfile="${core_dist_dir}/src/fw-src.jar" compress="false">
> <fileset dir="fw/src">
> <include name="**/*.*"/>
> </fileset>
> </jar>
>
> <jar jarfile="${core_dist_dir}/src/client-src.jar" compress="false">
> <fileset dir="app/src">
> <include name="**/*.*"/>
> </fileset>
> </jar>
>
> <jar jarfile="${core_dist_dir}/src/build.jar" compress="false">
> <fileset dir="build">
> <include name="**/*.*"/>
> <exclude name="test.jar"/>
> </fileset>
> </jar>
>
> <copy todir="${core_dist_dir}/src" >
> <fileset dir="." >
> <include name="build.xml"/>
> <include name="izpack.bat"/>
> <include name="izpack.xml"/>
> </fileset>
> </copy>
>
> <zip zipfile="${dist_dir}/${name}-src-${version}.zip" compress="true">
> <fileset dir="${core_dist_dir}/src">
> <include name="**/*.*"/>
> </fileset>
> </zip>
>
> <tar tarfile="${dist_dir}/${name}-src-${version}.tar">
> <tarfileset dir="${core_dist_dir}/src">
> <include name="**/*.*"/>
> </tarfileset>
> </tar>
> <gzip zipfile="${dist_dir}/${name}-src-${version}.tar.gz"
> src="${dist_dir}/${name}-src-${version}.tar">
> </gzip>
> <delete file="${dist_dir}/${name}-src-${version}.tar"/>
>
> </target>
>
> <!--
> ==================================================================
> Make the distribution.
> No parameters.
> ==================================================================
> -->
> <target name="make_dist" depends="compile_app,jar_source">
> </target>
>
> <!--
> ==================================================================
> Clean up.
> No parameters.
> ==================================================================
> -->
> <target name="clean" depends="init">
> <delete includeEmptyDirs="true">
> <fileset dir="." includes="**/*~" defaultexcludes="no"/>
> <fileset dir="." includes="**/#*#" defaultexcludes="no"/>
> <fileset dir=".">
> <include name="**/*.class"/>
> <include name="**/*.bak"/>
> </fileset>
> </delete>
> <delete includeEmptyDirs="true">
> <fileset dir="${dist_dir}">
> <exclude name="*.jar"/>
> <exclude name="*.zip"/>
> <exclude name="*.gz"/>
> </fileset>
> </delete>
> </target>
>
> <!--
> ==================================================================
> Internal Target.
> Build a plugin.
> p_internal_name - internal name of plugin to be build.
> ==================================================================
> -->
> <target name="build_plugin">
> <property name="lcl_this_plugin_src_dir" value="${plugins_src_dir}/${p_internal_name}"/>
> <property name="lcl_this_plugin_dist_dir" value="${plugins_dist_dir}/${p_internal_name}"/>
>
> <mkdir dir="${lcl_this_plugin_dist_dir}/work"/>
> <mkdir dir="${lcl_this_plugin_dist_dir}/dist/${p_internal_name}"/>
> <ant inheritAll="false" dir="${lcl_this_plugin_src_dir}"
> antfile="${plugins_src_dir}/${p_internal_name}/${plugin_build_file_name}"
> target="${plugin_build_target_name}">
> <property name="p_plugin.work_dir" value="${lcl_this_plugin_dist_dir}/work"/>
> <property name="p_plugin.dist_dir" value="${lcl_this_plugin_dist_dir}/dist"/>
> <property name="p_plugin.core_libs_dir" value="${core_dist_lib_dir}"/>
> </ant>
>
> <zip zipfile="${dist_dir}/${p_internal_name}.zip" compress="true">
> <fileset dir="${lcl_this_plugin_dist_dir}/dist">
> <include name="**/*.*"/>
> </fileset>
> </zip>
>
> <tar tarfile="${dist_dir}/${p_internal_name}.tar">
> <tarfileset dir="${lcl_this_plugin_dist_dir}/dist">
> <include name="**/*.*"/>
> </tarfileset>
> </tar>
> <gzip zipfile="${dist_dir}/${p_internal_name}.tar.gz"
> src="${dist_dir}/${p_internal_name}.tar">
> </gzip>
> <delete file="${dist_dir}/${p_internal_name}.tar"/>
>
> </target>
>
> <target name="make_jws" depends="compile_app">
> <copy todir="${core_jws_dir}">
> <fileset dir="${core_dist_lib_dir}">
> <include name="**/*.jar"/>
> </fileset>
> </copy>
> <copy file="doc/images/logo.jpg" todir="${core_jws_dir}"/>
> <copy file="web-site/jws/squirrel.jnlp" todir="${core_jws_dir}"/>
> <signjar alias="squirrel" storepass="password" keystore="build/keystore">
> <fileset dir="${core_jws_dir}">
> <include name="**/*.jar"/>
> </fileset>
> </signjar>
> </target>
>
> </project>
>
> --------------080608060108020000070805
> Content-Type: application/x-java-jnlp-file;
> name="squirrel.jnlp"
> Content-Transfer-Encoding: base64
> Content-Disposition: inline;
> filename="squirrel.jnlp"
>
> PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwDQogIHNwZWM9
> IjEuMCsiDQogIHZlcnNpb249IjEuMSINCiAgY29kZWJhc2U9Imh0dHA6Ly9sb2NhbGhvc3Q6
> ODAvandzLyINCiAgaHJlZj0ic3F1aXJyZWwuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAg
> ICA8dGl0bGU+U3F1aXJlbCBTUUw8L3RpdGxlPg0KICAgIDx2ZW5kb3I+U291cmNlRm9yZ2Uu
> bmV0PC92ZW5kb3I+DQogICAgPGhvbWVwYWdlIGhyZWY9Imh0dHA6Ly9zcXVpcnJlbC1zcWwu
> c291cmNlZm9yZ2UubmV0LyIvPg0KICAgIDxpY29uIGtpbmQ9InNwbGFzaCIgaHJlZj0ibG9n
> by5qcGciLz4NCiAgICA8b2ZmbGluZS1hbGxvd2VkLz4NCiAgPC9pbmZvcm1hdGlvbj4NCiAg
> PHNlY3VyaXR5Pg0KICAgICAgPGFsbC1wZXJtaXNzaW9ucy8+DQogIDwvc2VjdXJpdHk+DQog
> IDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS4zKyIvPg0KICAgIDxqYXIgaHJl
> Zj0ic3F1aXJyZWwtc3FsLmphciIgbWFpbj0idHJ1ZSIgLz4NCiAgICA8amFyIGhyZWY9ImZ3
> LmphciIvPg0KICAgIDxqYXIgaHJlZj0ibG9nNGouamFyIi8+DQogICAgPGphciBocmVmPSJu
> YW5veG1sLTIuMS5qYXIiLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxhcHBsaWNhdGlvbi1kZXNj
> IG1haW4tY2xhc3M9Im5ldC5zb3VyY2Vmb3JnZS5zcXVpcnJlbF9zcWwuY2xpZW50Lk1haW4i
> Lz4NCjwvam5scD4=
> --------------080608060108020000070805--
>
>
>
>
> --__--__--
>
> _______________________________________________
> Squirrel-sql-develop mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>
>
> End of Squirrel-sql-develop Digest
>
|