You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pmallur <ni...@yahoo.com> on 2008/08/14 18:34:34 UTC
Perforce Sync
I would like to add the perforce task within the build file. I have this code
in there
<target name="p4sync">
<taskdef name="perforcesync"
classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync"/>
<p4sync
force="true" view="//depot/xxxxxx/... //xxxxxx/xxxxxx/... "
user="xxxxx"
port="x.x.x.x:xxxx"
client="xxxx"
/>
</target>
All the 'x' are for protected ones.
I get this error ..
Buildfile: C:\p4\xxxxxx\build.xml
p4sync:
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util
Total time: 234 milliseconds
Can someonetell me if you have got this task working correctly..
Thanks
Nima
--
View this message in context: http://www.nabble.com/Perforce-Sync-tp18985183p18985183.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Perforce Sync
Posted by Kevin Jackson <fo...@gmail.com>.
Hi,
> BUILD FAILED
> java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util
This is more of a user list question, but it looks to me like you're
missing a dependency for p4sync
http://ant.apache.org/manual/OptionalTasks/perforce.html
This page explains that you need the oro jar on your classpath.
Thanks,
Kev
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org