ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus" <marc...@criticalpointsoftware.com>
Subject Re: Perforce Optional Tasks
Date Thu, 20 Dec 2001 21:05:02 GMT
Hi Diane,

that is what i thought but then i get:

p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error:
//cpdev/
/main/src/... - no such file(s).
        at
org.apache.tools.ant.taskdefs.optional.perforce.P4Base.execP4Command(
P4Base.java:180)
        at
org.apache.tools.ant.taskdefs.optional.perforce.P4Sync.execute(P4Sync
.java:115)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

here is the code:
<?xml version="1.0"?>
<project name="Mdb_v2" default="deploy" basedir=".">
 <!-- RUN THE TESTS -->
 <property name="src" value="java"/>
 <property name="build" value="../classes"/>
 <property name="java_deploy_dir" value="html/prototype/WEB-INF"/>
 <property name="EE_DIR" value="p:/thirdparty/win32/runnable/jdk/ee/lib"/>
 <property name="LOG" value="../build/lib/log4j.jar"/>
  <property name="TEST1" value="../build/lib/junit.jar"/>
 <property name="FONIX"
value="../build/lib/FTKAudio.jar;../../../build/lib/FTKTTSLV.jar;../../../bu
ild/lib/FTKTTSSV.jar;../../../build/lib/FTKUtils.jar"/>
 <property name="SAXON"
value="../build/lib/xerces.jar;../../../build/lib/saxon.jar"/>
 <property name="JLIB" value="../build/lib"/>
 <property name="JDBCDRIVER" value="../build/lib/mysqlJdbcDriver.jar"/>
 <property name="REPORT_TESTS_DIR" value="../java/cp_test/reports"/>
  <property name="CLASSPATH"
value="${build};${SAXON};${LOG};${TEST1};${FONIX};${JLIB};${JDBCDRIVER}"/>
 <target name="init">
  <!-- Create the time stamp -->
  <tstamp/>
  <!-- Create the build directory structure used by compile -->
  <mkdir dir="${build}"/>
  <!-- Create the build directory structure for the release process, label,
backup, taring,etc -->
  <!-- Create the the variables used by ant that is latest and greatest from
p4 -->

      <p4sync force="yes" view="//cpdev//main/src/...">
     </p4sync>
  </target>
</project>

thx
mez
----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, December 20, 2001 10:24 AM
Subject: Re: Perforce Optional Tasks


> --- James Bullington <shockride@yahoo.com> wrote:
> > I'm not a perforce expert,  but did you define the taskdef as below?
> >
> > <taskdef name="p4sync"
> > classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" />
>
> You shouldn't need to -- all the P4 tasks are already defined in the
> defaults.properties file.
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message