Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85557 invoked by uid 500); 11 Jul 2003 13:53:54 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85545 invoked from network); 11 Jul 2003 13:53:53 -0000 Received: from unknown (HELO home.fsoft.fpt.vn) (203.162.125.88) by daedalus.apache.org with SMTP; 11 Jul 2003 13:53:53 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Can I use ANT as an interface with Microsoft Visual SourceSafe? X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Fri, 11 Jul 2003 21:00:32 +0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can I use ANT as an interface with Microsoft Visual SourceSafe? Thread-Index: AcNHs90CcMDYBu+ASd6aKNf0ZiPVMgAALQow From: "Bui Dinh Chien" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N :-)) Thanks so much Antoine, I will do it later, because now is time to back home :)) Cheers, Chienbui -----Original Message----- From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] Sent: Friday, July 11, 2003 8:16 PM To: Ant Users List Subject: Re: Can I use ANT as an interface with Microsoft Visual SourceSafe? Have a look at this URL : http://ant.apache.org/manual Go to "Developing with ant" then to : Using Ant Tasks Outside of Ant You do not need to write an XML build file with ant, but this is an option. You can programatically set all the properties of the visual source safe tasks and execute the task. Cheers, ----- Original Message ----- From: "Bui Dinh Chien" To: "Ant Users List" Sent: Friday, July 11, 2003 3:03 PM Subject: RE: Can I use ANT as an interface with Microsoft Visual SourceSafe? Thanks Antoine, I dont understand you so much. You mean that I can make an ant task, in my task I connect to VSS by using org.apache.tools.ant.taskdefs.optional.vss package, then write some tags in build.xml file, and the last use ANT command to run my task??? But my job is write a Java WEB application, this WEB application is a tool that have to connect to VSS, get all source code of OTHER project (by check out), compile, then check in to VSS. I think I have to write some servlets, these servlets have ability to connect to VSS and do some VSS's jobs. So I think I need some librarys that has API with VSS. In ANT's library I saw package org.apache.tools.ant.taskdefs.optional.vss, I dont know I can use this package as API library with VSS or not in my servlet. Please help me. Thanks for your kindness, Chienbui -----Original Message----- From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] Sent: Friday, July 11, 2003 7:20 PM To: Ant Users List Subject: Re: Can I use ANT as an interface with Microsoft Visual SourceSafe? Hi Bui Dinh, yes, you can use in programs the ant tasks with Visual Source Safe. grep in the ant source code for getProject().createTask() to see how you can create a task and run it (I think the SignJar task has that). You can also simply create an xml build file and put your Visual Source Safe tasks in it. Antoine ----- Original Message ----- From: "Bui Dinh Chien" To: "Ant Users List" Sent: Friday, July 11, 2003 6:27 AM Subject: Can I use ANT as an interface with Microsoft Visual SourceSafe? Dear Sir, Now I have to make a Java program to check in/check out one/many source file to/from Microsoft Visual SourceSafe. As I see in ANT'lib, there is one package org.apache.tools.ant.taskdefs.optional.vss, I dont know I can use this package as interface with MS VSS or not, and if can, how can I use? Please help me. Thanks and best regards Chienbui --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org