HI Ken,
trying to cvs checkout jsftemplating from java.net cvs server on windows
xp is giving following error to me
# cvs -d :pserver:guest_at_cvs.dev.java.net:/cvs login
(Logging in to guest_at_cvs.dev.java.net)
CVS password:
# cvs -d :pserver:guest_at_cvs.dev.java.net:/cvs co jsftemplating
cvs checkout: in directory jsftemplating:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot write <CVS/Template file>: No such file
or direct
ory
# cvs -d :pserver:guest_at_luna.sfbay.sun.com:/cvs login
(Logging in to guest_at_luna.sfbay.sun.com)
CVS password:
# cvs -d :pserver:guest_at_luna.sfbay.sun.com:/cvs checkout jsftemplating
cvs checkout: in directory jsftemplating:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot write <CVS/Template file>: No such file
or direct
ory
the same commands work fine for me on Solaris. ant version on solaris
is 1.4.1 and winxpp is 1.6.5
I am using MKS Toolkits c shell to do checkout.
Priti
Ken Paulsen wrote:
>
> I changed the way apt is invoked in the JSFTemplating project. I
> believe this will simplify the build process, however, I know from
> past experience that different people's environments, versions of ant,
> etc have caused problems. Please let me know if you run into any
> build problems (esp. wrt "apt").
>
> Basic summary of the change: build.xml calls aptbuild.xml when it
> needs to compile files via apt. Doing this allows the ant-apt.jar to
> be specified automatically.
>
> Thanks,
>
> Ken
>
> ------------------------------------------------------------------------
>
> Subject:
> [CVS JSFTemplating] CVS update: /jsftemplating/
> From:
> kenpaulsen_at_dev.java.net
> Date:
> Thu, 22 Jun 2006 08:08:56 +0000
> To:
> cvs_at_jsftemplating.dev.java.net
>
> To:
> cvs_at_jsftemplating.dev.java.net
>
>
> User: kenpaulsen
> Date: 2006/06/22 01:08:56
>
> Added:
> jsftemplating/aptbuild.xml
>
> Modified:
> jsftemplating/build.xml
>
> Log:
> * Moved that <apt> task to its own build.xml (aptbuild.xml) file. This
> allows me to invoke ant on itself passing in the required ant-apt.jar
> file... and making the build work out of the box (provided ant 1.6+).
>
> File Changes:
>
> Directory: /jsftemplating/
> ==========================
>
> File [changed]: build.xml
> Url: https://jsftemplating.dev.java.net/source/browse/jsftemplating/build.xml?r1=1.9&r2=1.10
> Delta lines: +7 -13
> --------------------
> --- build.xml 9 Jun 2006 01:36:13 -0000 1.9
> +++ build.xml 22 Jun 2006 08:08:53 -0000 1.10
> @@ -1,12 +1,13 @@
> <!-- Build file for JSFTemplating -->
> <project name="JSFTemplating" default="build" basedir=".">
> - <taskdef name="apt" classname="org.apache.tools.ant.taskdefs.Apt" />
>
> <!-- Set properties -->
> - <property environment="env" />
> <property file="build.properties" />
> <property file="user.properties" />
> + <!--
> + <property environment="env" />
> <property file="${user.home}/build.properties" />
> + -->
>
> <path id="dependencies">
> <pathelement location="${servlet-api.jar}" />
> @@ -69,16 +70,10 @@
> <target name="compile" depends="jar-apt-files">
> <mkdir dir="${build}/." />
>
> - <!-- Compile the java code from ${src} into ${build} -->
> - <apt srcdir="${src}"
> - fork="true"
> - destdir="${build}/."
> - debug="${compile.debug}"
> - deprecation="${compile.deprecation}"
> - excludes="**/annotation/**"
> - optimize="${compile.optimize}">
> - <classpath refid="dependencies" />
> - </apt>
> + <exec dir="." executable="ant">
> + <!-- We do this to add the ant-apt.jar to the lib path -->
> + <arg line="-f aptbuild.xml -lib lib/external/ant-apt.jar compile" />
> + </exec>
> </target>
>
> <target name="jar" depends="compile">
> @@ -162,5 +157,4 @@
> <!-- build all sample apps under the samples directory -->
> <ant dir="samples" target="build" />
> </target>
> -
> </project>
>
> File [added]: aptbuild.xml
> Url: https://jsftemplating.dev.java.net/source/browse/jsftemplating/aptbuild.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
> Added lines: 32
> ---------------
> <!-- Build file for JSFTemplating -->
> <project name="JSFTemplating" default="build" basedir=".">
> <taskdef name="apt" classname="org.apache.tools.ant.taskdefs.Apt" />
>
> <!-- Set properties -->
> <property file="build.properties" />
> <property file="user.properties" />
> <!--
> <property environment="env" />
> <property file="${user.home}/build.properties" />
> -->
>
> <!-- The "dependencies" path should exist in both build.xml files -->
> <path id="dependencies">
> <pathelement location="${servlet-api.jar}" />
> <pathelement location="${jsf-api.jar}" />
> <pathelement location="${jsftemplating-dt.jar}" />
> </path>
>
> <target name="compile">
> <!-- Compile the java code from ${src} into ${build} -->
> <apt srcdir="${src}"
> fork="true"
> destdir="${build}/."
> debug="${compile.debug}"
> deprecation="${compile.deprecation}"
> excludes="**/annotation/**"
> optimize="${compile.optimize}">
> <classpath refid="dependencies" />
> </apt>
> </target>
> </project>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cvs-unsubscribe_at_jsftemplating.dev.java.net
> For additional commands, e-mail: cvs-help_at_jsftemplating.dev.java.net
>
>
>