Hi Martin. Thanks for your answer, but it is really enough difficult to install Java2 Platform on our developer computers.
In any case, I am not sure that OutOfDate task is really that I am looking for. What I am looking for: 1. Utility, which could build the list of dependencies for each particular .cpp file. Example: myFile.cpp contains reference to myFile.h. myFile.h contains reference to myOwnLib.h myOwnLib.h contains reference to OurCommonLib.h etc. So, myFile.cpp depends on myFile.h, myOwnLib.h, OurCommonLib.h and should be recompiled if any of these header files changes. None of other cpp files should be recompiled in this case if they don't depend on the changes header files. I need something like makedepend + nmake, but based on Nant building utility. Thanks once more. -- Best regards, Konstantin Sokolovskiy ICQ# 44424442 -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:00 PM To: Konstantin Sokolovskiy; [EMAIL PROTECTED] Subject: Re: [Nant-users] Nant and dependencied Konstantin- If you are capable to install 1.42 Java2 Platform Standard Edition at http://java.sun.com/j2se/1.4.2/download.html and install the more capable Ant build utility from http://ant.apache.org/bindownload.cgi you could use the OutOfDate task- http://ant-contrib.sourceforge.net/tasks/outofdate.html I used it at United Health Group for the eFACT J2EE Project with 100% success All the Best, Martin Gainty http://www.laconiadatasystems.com (Boston MA USA) 001-617-852-7822 OOA\OODConsultant/Instructor/ChessNut ----- Original Message ----- From: "Konstantin Sokolovskiy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 5:42 AM Subject: [Nant-users] Nant and dependencied > Hello, all. > > I am a newbie in Nant so my question may be stupid. > I try to create .build file for a simple C++ project. It looks like: > > <?xml version="1.0"?> > <project name="HelloWorld" default="build"> > > [...] > > <target name="build" description="compiles the source code"> > <mkdir dir="${obj.dir}"/> > > <cl outputdir="${obj.dir}" debug="${debug}"> > <sources> > <includes name="*.cpp"/> > </sources> > </cl> > > <mkdir dir="${build.dir}"/> > <link output="${build.dir}\helloworld.exe"> > <sources> > <includes name="obj\*.obj" /> > </sources> > </link> > </target> > > </project> > > This build file works fine. > When I change any of the .cpp files, the project succsessfully recmpiles. > But when I change any header (*.h) file, it doesn't recompile the project. > Does Nant provide any ways to trace file dependencies in order to recompile > those file, which depend on the changed header files? > > Thanks. > > -- > Best regards, > Konstantin Sokolovskiy > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users