Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

Rebasing from ant

Thread view: 
benoit.beland@gmail.com - 20 Feb 2007 21:07 GMT
Hi,

I'm trying to do a rebase directly from the ant script:

<exec executable="cleartool" failonerror="true">
<arg value="rebase" />
<arg value="-view myviewname" />
<arg value="-recommended"/>
</exec>

Which gives me the following result:
[exec] cleartool: Error: Unrecognized option "-view myviewname"

If I run the following from the command line, it works fine:
cleartool rebase -view myviewname -recommended

Any help appreciated, thanks!
Andrew Thompson - 20 Feb 2007 21:12 GMT
On Feb 21, 8:07 am, benoit.bel...@gmail.com wrote:
...
> <exec executable="cleartool" failonerror="true">
> <arg value="rebase" />
[quoted text clipped - 4 lines]
> Which gives me the following result:
> [exec] cleartool: Error: Unrecognized option "-view myviewname"

It seems the value '-view myviewname' is
being taken as a single string.

Try..
<exec executable="cleartool" failonerror="true">
<arg value="rebase" />
<arg value="-view" />
<arg value="myviewname" />
<arg value="-recommended"/>
</exec>

As an aside.  Did you have a Java question?

Andrew T.
benoit.beland@gmail.com - 21 Feb 2007 14:36 GMT
Thanks, it worked.

As for the type of question, sorry but I couldn't find a more specific
usenet group and with the level of activity in here, thought somebody
would know!

> On Feb 21, 8:07 am, benoit.bel...@gmail.com wrote:
> ...
[quoted text clipped - 22 lines]
>
> Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.