Re: Re: task issue in ANT

2007-07-02 Thread query
Source software because they use it in their daily work, the Microsoft world >is still getting use to the idea that they are becoming dependent upon Open >Source projects like Nant. > >Still, I can see that great strides have been made in documentation. You can >find the Nant d

Re: Re: task issue in ANT

2007-07-01 Thread query
re because they use it in their daily work, the Microsoft world >is still getting use to the idea that they are becoming dependent upon Open >Source projects like Nant. > >Still, I can see that great strides have been made in documentation. You can >find the Nant documentation he

NANT with ANT

2007-06-28 Thread query
  Hi, I am new to NANT. To use NANT tasks within ANT buildfile, is it necessary to install NANT or is it enough to have ant-dotnet-1.0.jar? Currently when I tried to use task in ,it is showing below error. Execute failed: java.io.IOException: CreateProcess: NAnt.exe eg error=2

Re: Re: task issue in ANT

2007-06-27 Thread query
Nant and not Ant. Nant is the .Net equivalent of Ant. Nant has a >task which uses the Microsoft Message compiler and a task for >compiling VSC++ code. > >Take a look at: http://nant.sourceforge.net/ and see if this does what you >want. > >On 22 Jun 2007 11:45:18 -, que

task issue in ANT

2007-06-22 Thread query
  Hi, task in ANT is having an attribute with values "msvc" and "msrc" for microsoft Visual C++ and microsoft resource compilers respectively. Is there any task or attribute for microsoft message compiler? Similarly, is there any task for IDLToCLSCompiler.exe ued in microsoft.NET framework?

cvs export issue in ANT

2007-06-14 Thread query
  When I tried to export new revision file from cvs, it is not replacing old file with the new file. It is showing the below error and continues. [cvs] cvs export: move away E:\ANTBUILD\eg\sample.java; it is in the way [cvs] C E:\ANTBUILD\eg\sample.java To export the new file, old file needs to

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar

Re: Re: Classpath issue with task

2007-06-14 Thread query
  Definitions are as given below: On Tue, 12 Jun 2007 Scot P.Floess wrote : >First off what is the value of dst? > >Second, what is the definition of app.path? > >query wrote: >> Hi, >> >>I have been using ANT tool to compile

Re: Re: Classpath issue with task

2007-06-14 Thread query
  Definitions are as given below: On Tue, 12 Jun 2007 Scot P.Floess wrote : >First off what is the value of dst? > >Second, what is the definition of app.path? > >query wrote: >> Hi, >> >>I have been using ANT tool to compile

Classpath issue with task

2007-06-12 Thread query
  Hi, I have been using ANT tool to compile java source files. In the log file, it is displaying the destination folder also in the classpath though I have not defined it in classpath. Is it task bug? Log file: [javac] Using modern compiler [javac] Compilation arguments: [java

Re: Re: javac task with classpath issue

2007-06-12 Thread query
ibility is to use the task to only build the >JAR file if all the conditions are correct. The task (and >the Ant Contrib task) are good ways to prevent rebuilding >when Ant's built in rules don't seem to be working. > > > > > > > >On 8 Jun 2007 07:23:05 -00

javac task with classpath issue

2007-06-08 Thread query
I have already compiled some java source files using ANT task and created a jar file(eg1.jar). I am using eg1.jar in the classpath to compile files in E:\\ANTBUILD\\eg\\eg2\\sources.The log shows that in the classpath, it is also including the destination folder as a classpath. Is it an

Re :Re: classpath issue in task

2007-06-01 Thread query
it takes the value of classpathvia your environment.How do you specify classpath? Can you print out the classpath rightbefore you call the task to verify that it is set the way youwant?If you\'re setting claspath via reference, you can convert thereference to a parameter and then print the para

Issue with recursive source files in task

2007-06-01 Thread query
While compiling java source files, it will scan recursively for the source files in a given directory. If we don\'t want to compile subfolders, we have to specifically mention them by using task. But as the numbers of subfolders are large, it will be difficult to mention them exclusive

Re :Re: classpath issue in task

2007-06-01 Thread query
quot;classpath=\" parameter to specify the classpath.However, if you do not specify either, it takes the value of classpathvia your environment.How do you specify classpath? Can you print out the classpath rightbefore you call the task to verify that it is set the way youwant?If you\'r

Classpath issue in task

2007-06-01 Thread query
I have created classpath in a build file and using it in the same build file for compiling java source files. When I checked the log file I found that classfile destination folder(absolute path of class.dest) was also included in the classpath though I had not specified it in eg.class.pathAs a r

Re :Re: Re :Re: Building Dependent targets

2007-06-01 Thread query
Thanks for reformatting the mail.I tried with task. It works better.On Mon, 28 May 2007 19:32:21 -0400 \"Ant Users List\" wroteIt was a bit hard to read your email. Please set your email to sendonly text formated emails to this list. Otherwise, they get munged andit\'s hard to see what

classpath issue in task

2007-06-01 Thread query
I have created classpath in a build file and using it in the same build file for compiling java source files. When I checked the log file I found that classfile destination folder(absolute path of class.dest) was also included in the classpath though I had not specified in eg.class.pathAs a res

Re :Re: Building Dependent targets

2007-05-28 Thread query
gt;     </sourcefiles>   <targetfiles>       <pathelement path=\"${eg}/classfolder/eg.jar\"/>     </targetfiles>   <sequential>     <antcall target=\"create-jar\"/>    </sequential>     </outofdate></target> <target

Re :Re: Building Dependent targets

2007-05-28 Thread query
youcan also use ivy (http://incubator.apache.org/ivy/). It\'s a dependencymanagment tool having ant tasks to order a list of subproject according totheir respective dependencies(http://incubator.apache.org/ivy/doc/use/buildlist.html). It use a metadataXML file to descibes the dependency

Re :Re: Building Dependent targets

2007-05-24 Thread query
As you have mentioned, time stamp comparision will be done at the task level tasks like . But in a target, I will be defininig many tasks like ,,,,,, etcSo my concern is instead of repeatedly checking the tasks whether they are already bui

Building Dependent targets

2007-05-24 Thread query
Earlier I was using some other build tool to build my project. Here if a target is built and if the same target is used to build some other target, it compares the timestamp and will not build the dependent targets again. As I started working on ANT, I found it very useful and intersting. But in

Fwd: AW: Re: Re: Settting environment variables

2007-05-10 Thread query
nning processes). >-Ursprüngliche Nachricht- >Von: Martin Gainty [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 9. Mai 2007 15:32 >An: Ant Users List; query >Betreff: Re: Re: Re: Settting environment variables > >using embedded env > > >use in property > >

Fwd: Re: Re: Settting environment variables

2007-05-09 Thread query
variables --- Begin Message --- Hello, Sorry about that...for the setting of evironment variables is done with the element...please read the documentation (http://ant.apache.org/manual/CoreTasks/exec.html) for specific details. Thanx - Original Message From: query <[EMAIL PROTECTE

Re: Re: Settting environment variables

2007-04-19 Thread query
f one you target needs to start seperate process (, , >, etc...) you can control the value of the enviroment variables that the >child process will have...use the sub element to correct that. > >Hope that make sense???? > >Ninju > > > >- Original Message &g

Re: Re: Settting environment variables

2007-04-19 Thread query
t. > >Hope that make sense > >Ninju > > > >- Original Message > From: query <[EMAIL PROTECTED]> >To: ant >Sent: Thursday, April 19, 2007 9:25:39 AM >Subject: Settting environment variables > > > > >Hi, > >I am having a set of

Settting environment variables

2007-04-19 Thread query
  Hi, I am having a set of ANT build files. I want to change "Path" and "include" environment variables only in build file. I tried the following options to reset "include" variable in the build file. 1. 2. 3. 4. When I tried to echo "include" variable in the same build

task for IdlToClsCompiler.exe

2007-04-12 Thread query
  Hi, Is there any ANT task for IdlToClsCompiler.exe?

Re: Re: To change directory in ANT

2007-04-11 Thread query
11, 2007, at 12:29 AM, query wrote: > >>I want to use change directory in ANT scripts. But it is not changing >>directory.It will revert back to its original setting as soon as it comes >>out of shell prompt. > >Yes, that is the expected behavior. creates a new shel

Re: Re: To change directory in ANT

2007-04-11 Thread query
: >On Apr 11, 2007, at 12:29 AM, query wrote: > >>I want to use change directory in ANT scripts. But it is not changing >>directory.It will revert back to its original setting as soon as it comes >>out of shell prompt. > >Yes, that is the expected behavior. cr

To change directory in ANT

2007-04-11 Thread query
  Hi, I want to use change directory in ANT scripts. But it is not changing directory.It will revert back to its original setting as soon as it comes out of shell prompt.I tried using Is there any met

Pathname issue in cvs export command

2007-04-05 Thread query
  Hi, I am using cvs task to export modules. Here, I want to export only gif files in java/gui/images to ${temp}by shortening the pathnames. But it is exorting gif files to ${temp}/java/gui/images. I tried using commanline option -d also. But it is giving error. 1. 2. 3.

Re: Re: Re: Issue with javac task

2007-03-29 Thread query
  Hi, Thanks for your response. I had tried compiling java code with debug option enabled earlier. That was working fine. But I want to compile java source with debug option disabled. What may be the reason for the difference in class file size? Can you please let me know the reason? I am a n