Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 84647 invoked by uid 500); 7 Jul 2001 20:52:44 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 84442 invoked from network); 7 Jul 2001 20:52:42 -0000 Message-ID: <4E7888D4F219E145B6F81E5D3049E3BF1B1110@scmail01.arsin.com> From: Peter Vogel To: "'ant-user@jakarta.apache.org'" Subject: RE: Newbie Question regarding recursive calling Date: Sat, 7 Jul 2001 13:52:42 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Dheeresh, the fact that you have a build.xml at EVERY level=20 suggests a slight mis-use of ant. The intent is to really just have one at the top that drives the build of the whole system, though in my current case I have two levels, the top level that drives everything and the subsystem level that builds an=20 entire subsystem package. Anyway, what you want for the recursive call is the task. -Peter > -----Original Message----- > From: Dheeresh [mailto:Dheeresh@redwavenet.com] > Sent: Friday, July 06, 2001 1:13 PM > To: 'ant-user@jakarta.apache.org' > Subject: Newbie Question regarding recursive calling >=20 >=20 > Hi, > I'm pretty new to Ant and have a very basic question. >=20 > 1) I have my directory structure as > Root > |_ > A=20 > |_ > B > |_ > | C_ > | |_ > |_ C1 > D >=20 > Note Legend: A,B,C,C1,D are directories > I have a build.xml file in each of the directories. > What I',m looking for is ,if I have to build the files from=20 > Directory C and > its children, I should be able to call the build.xml file of=20 > directory C1 > from the build.xml file of directory C. As of now I'm doing=20 > javac for all > the java files. > This is exactly like calling the "call *.cmd" command for Windows. > Any response would be appreciated. > Thanks > -- > Dheeresh >=20 > -----Original Message----- > From: Martin Schl=F6mer [mailto:martin.schloemer@ruhr-uni-bochum.de] > Sent: Friday, July 06, 2001 1:05 AM > To: ant-user@jakarta.apache.org > Subject: Solution: How to make ant running with cvs >=20 >=20 > Hi, >=20 > i think, i found the problem (on WinNT at least): > ant will find the cvs executable, when it is in the PATH, but=20 > contrary=20 > to what you're used to from working with Batches you MUST NOT=20 > doublequote the path, even if there are spaces in it! >=20 > So this works for me > set PATH=3Dc:\Programme\gnu\WinCVS 1.1;%PATH% >=20 > So, you don't need to move your cvs directory around. >=20 >=20 > Martin. >=20 >=20 >=20 > List: ant-user > Subject: RE: Question: How to make ant running with cvs > From: Viraj Purang > Date: 2001-06-19 20:22:35 > [Download message RAW] >=20 > Hi, > I changed the directory that I was accessing to one=20 > which does not have > spaces in its name (Mind you , I had given the quotes to take=20 > care of that > ..., but that in fact quotes coould be a problem too.) from > C:\CVS1\builder>set PATH > PATH=3D"C:\Progra~1\GNU\WinCvs 1.1" to point to C:\CVS1\builder>set > PATH=3Dc:\mycvs;%PATH% (I did not reinstall WinCvs, just copied=20 > the files over > to c:\Mycvs) and the error changed , basically it started=20 > recognizing the > cvs.exe that I have. > IN response to your qn ...does WinCVS even have a command-line > interface? > They have a cvs.exe and a WinCvs.exe which leads me to=20 > believe that=20 > they > wanted us to have an option here of being capable enough to=20 > invoke the cvs > program from the command line too.IN hindsight, I guess I=20 > would not know > unless I burn myself on this one but responses now seem to be quite > encouraging as the results below show. >=20 > If you know any other working CVS client on Windows, I=20 > would be the > happiest person to know about it ! > -------------------------------------------------------------- > -------------- >=20