Re: Strange behavior with cvstagdiff task

2006-01-12 Thread Ivan Ivanov
Hello, is a wrapper around cvs diff command. The task just takes the output of that command and transforms it to XML format. You can see the actual cvs command by running the script in verbose mode. You can that run the cvs command yourself and observe its output in the cases you describe below

Re: Exec

2006-01-11 Thread Ivan Ivanov
Hello, --- Ninju Bohra <[EMAIL PROTECTED]> wrote: > I believe that this question has been asked > before... > > I am assuming you have access to the ANT source > code... It can be checked event without the ant's source code by looking at http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/main/

Re: Some spelling mistakes in the documentation

2006-01-09 Thread Ivan Ivanov
Hello, I checked the patches Petar has provided. Here is the list of the spelling errors he has found: 1) projects.xml - the line "display and browse the dependenies between the different targets" must be "display and browse the dependencies between the different targets". The word "dependenies"

Re: Regarding CVSROOT defined as system variable

2006-01-04 Thread Ivan Ivanov
Hello, I think that the problem is not that you have set CVSROOT variable. This exception below makes me think that you are stuck upon in an Windows problem. > :\cvssource\cc-buildcvsroot.xml:5: Unable to delete > directory > C:\cvssource\jinx When a directory is open by some process (as in Win

Re: How to change directories in ant.....

2006-01-04 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > basedir="."> > > > > > > cd Change to directory to what? For the sake of discussion let me call that directory new_dir. Ant has no cd task. Instead you do this: Regards Ivan __

RE: Problems using 'mail' task, not able to attach html file

2006-01-03 Thread Ivan Ivanov
> -Ae Hwa > -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of > Ivan Ivanov > Sent: Tuesday, January 03, 2006 3:01 PM > To: Ant Users List > Subject: Re: Problems using 'mail' task, not able to > attach html

Re: Problems using 'mail' task, not able to attach html file

2006-01-03 Thread Ivan Ivanov
Hello, Can you try without charset attribute? Regards Ivan --- "Chon, Ae H" <[EMAIL PROTECTED]> wrote: > All, > > > > I have the following ant mail task configured. But > it is unable to attach > the 'build.html' file as part of the email but > rather expand file as part of > the email mes

RE: using buildnumber effectively

2005-12-28 Thread Ivan Ivanov
ents of the > manifest. Its ruffed up code to prove it can be > done using the > previously mention ant tasks. The tld will invoke > the read once and > then add it to the Factory. > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent:

RE: using buildnumber effectively

2005-12-28 Thread Ivan Ivanov
} > > fis.close(); > } > } > > > } > }catch (IOException ioe) { > System.err.println("Error reading manifest > file for > properties lookup : " + io

Re: using buildnumber effectively

2005-12-28 Thread Ivan Ivanov
successfully tried using the manifest.mf as a > source for storing > > build/release/version information and successfully > reading it at > > run-time to display in a jsp? > > > > -Original Message- > > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED]

RE: using buildnumber effectively

2005-12-28 Thread Ivan Ivanov
Hello, You can add a token in your web pages, says @BUILD_NUMBER@ and either replace it with or with and . Regards Ivan --- "Ferrer, Eric" <[EMAIL PROTECTED]> wrote: > Maybe this should be a new thread, but once you > increment your build > number, what is the best practice to show this > bui

Re: WebSphere Deployment

2005-12-28 Thread Ivan Ivanov
Hello, Websphere is shipped with some ant tasks. See [1] for more details on them. Also Websphere also has the ability to execute the so called .jacl scripts which may be easy the configuration of the application, but I have no special knowledge on them. Perhaps [2] can give you more details on t

RE: Adding new project into CVS

2005-12-28 Thread Ivan Ivanov
? We are using CVS_RSH=ssh > > Thanks > srikrishna > > -Original Message----- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 28, 2005 1:29 PM > To: Ant Users List > Subject: Re: Adding new project into CVS > > Hello, >

Re: Adding new project into CVS

2005-12-28 Thread Ivan Ivanov
Hello, yes there is a way: use task with import cvs command. Regards Ivan --- [EMAIL PROTECTED] wrote: > Is there a way to add new project into cvs using ant > .? > > > > Thanks > > srikrishna > > __ Yahoo! DSL – Something to

Re: Reg. Main target

2005-12-22 Thread Ivan Ivanov
Hello Shreedhar, --- shreedhar natarajan <[EMAIL PROTECTED]> wrote: > > prompt>>ant -projecthelp > Buildfile: build.xml > > Sample ant file for demonstration purpose > > Main targets: > > Other targets: > > ant_sample > import_ant > say_hai > spawn_ant > Default target: ant_sample

Re: Intermittent problem with input task

2005-12-21 Thread Ivan Ivanov
gt; from the command line. > However, they are two separate installations of Ant, > i.e. Eclipse is not > referencing the same copy of Ant 1.6.5 as the > command line. > > My OS is Windows XP with SP2 installed. > > Rhino > > ----- Original Message - > From:

Re: Intermittent problem with input task

2005-12-21 Thread Ivan Ivanov
Hello Rhino, --- Rhino <[EMAIL PROTECTED]> wrote: > > I got the build to work but it definitely acted > wonky on the getserver > target: > - Ant displayed the message asking me to choose a > server > - I typed 2 and pressed Enter > - the build just sat there until I pressed Enter > - Ant display

Re: Intermittent problem with input task

2005-12-21 Thread Ivan Ivanov
Hello Rhino, If the property server.choice is set, the input task will be skipped. Well, it might be not your case - just be sure that you do not set server.choice in advance. Also can you run your script from the command line - if it works correctly than the problem is in Eclipse. There is some

Re: Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-19 Thread Ivan Ivanov
Hello, --- Petar Tahchiev <[EMAIL PROTECTED]> wrote: > I am not quite sure that I understood your ideas > clearly enough to answer > this, but I would like to suggest you this: why not > just use > value="${property.Containg.The.Desired.String}"/> In XML files you have to escape < and > with < a

Re: Failed to initialise MIME mail

2005-12-16 Thread Ivan Ivanov
Hello, --- "Chon, Ae H" <[EMAIL PROTECTED]> wrote: > > subject = "BUILD FAILED: > ${product.name} > ${major.ver}.${minor.ver}.${patch}.${build.num}" > > charset = "utf-8" > > failonerror = "false" > >

Re: OutOfMemory exception after introducing task

2005-12-16 Thread Ivan Ivanov
Hello, you might want to take a look at ANT_OPTS environment variable [1] combined with -Xmx or -Xms java options: export ANT_OPTS=-Xmx512m -Xms512m Regards Ivan [1]http://ant.apache.org/manual/running.html#envvars --- "Brown, Carlton" <[EMAIL PROTECTED]> wrote: > Anybody ever get an OutOfMem

RE: Urgent help with FTP task.....please help

2005-12-15 Thread Ivan Ivanov
> > > > > > > > > remotedir="c:\uploads" > > > > > > > > depends="yes" > > > > > > > >userid="sparthasarthy12" > > > > > > > >password="srinivasa27"&g

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello --- [EMAIL PROTECTED] wrote: > Thanks for your email > > I am using ant 1.6.5. I am not sure you are using ant 1.6.5. From your first message I see: > C:\antscripts>ant -verbose -f generalftp.xml > > Apache Ant version 1.6.2 compiled on August 5 2004 ^^ Here it s

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
running on your desktop. You have to install one first. Regards Ivan > ftp> exit > Invalid command. > ftp> quit > I am using windows xp sp1 > Thanks > srikrishna > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Wednesda

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
gt; Do you know on how to install it ? > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 6:51 PM > To: Ant Users List > Subject: RE: Urgent help with FTP task.please > help > > > > --- [EM

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello --- [EMAIL PROTECTED] wrote: > I am trying from my laptop to my desktop. Fine, but is there a running ftp server on your desktop? Regards Ivan > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 6:14

Re: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello, Are you aure you have ftp server up and running on 10.187.218.183? Can you access the ftp server using ordinary command line client like C:\> ftp 10.187.218.183 Regards Ivan --- [EMAIL PROTECTED] wrote: > I downloaded the required jarfile from ant site for > ftp task . I get the > follo

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Ivan Ivanov
Hello Michael, --- Michael Silverman <[EMAIL PROTECTED]> wrote: > Hi All, > > I have two questions and I would really appreciate > your assistance. > > 1. How do I get the drive letter which ant is > running from (under windows of > course)? > Something like getting the first char of > ${ba

RE: ant-optional.jar

2005-12-09 Thread Ivan Ivanov
not. Why is Ant not recognizing ftp as a > valid task? > > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Friday, December 09, 2005 1:00 PM > To: Ant Users List > Subject: Re: ant-optional.jar > > Hello, > > what version

Re: ant-optional.jar

2005-12-09 Thread Ivan Ivanov
Hello, what version of Ant are you using? optional.jar was used prior to Ant 1.6. If you use Ant 1.6 you do not need it; if not, it is better to upgrade. Regards Ivan --- "Gunter, Tony" <[EMAIL PROTECTED]> wrote: > > Can someone tell me where to download > ant-optional.jar? I can't seem to >

Re: Problem with Locale and SQL task

2005-12-08 Thread Ivan Ivanov
Hello Paul, task has "encoding" attribute. You may find it helpful. I understand from your message that your database uses UTF-8. What is the encoding, however, of the system on which you start the build script? Is there a difference between the encoding of the file containing the sql commands

Re: idiom to pass ant command line args to java task?

2005-12-01 Thread Ivan Ivanov
Hello, you can have several options. 1) Provide the options as the value of one property like this: ant -Dmy.java.program.opts="-opt1 value1 -opt2 value2 -opt3 value3 ..." Then in your build script grab them like this: 2) you can provide the value of each options as a property: ant -Dopt1=

Re: ant not recognizing command line argument

2005-11-30 Thread Ivan Ivanov
ut should be like on the jpeg) > or > ant clean (the output on the jpeg is false for the > target clean) > > on command line. See jpeg. > > Safak. > > Ivan Ivanov wrote: > > Hello, > > > > How do you start this build file. Please post the > > exa

Re: ant not recognizing command line argument

2005-11-30 Thread Ivan Ivanov
Hello, How do you start this build file. Please post the exact command with which you start it, as well as the output. Regards Ivan --- Safak �kmen <[EMAIL PROTECTED]> wrote: > Here is the buildfile: > > http://phpfi.com/89578 > > Safak. > > Karr, David wrote: > > We'd have to see your bui

Re: ant task fails

2005-11-23 Thread Ivan Ivanov
Hello, Ant-Contrib[1] has task: In this way "mail" target will always be executed. However, this is not very "Ant-ish". What is the aim of "mail" target. Does it sends the results of the build process? If so, you can use MailLogger[2] instead your "mail" target. See

Re: Question on how to to debug mapper issues

2005-11-21 Thread Ivan Ivanov
Hello, in most cases I have found that running ant in verbose or in debug mode by supplying -v or -d options corresoindingly helps find what is going wrong. In your case, I can make only the following random guesses: 1) Are your java sources located in src/ directly? If you have some packages tha

Re: 'Simple' way to remove the brakets '[]' from the output?

2005-11-17 Thread Ivan Ivanov
Hello, you may be interested in ant command line option -emacs/-e. Regards Ivan --- Frank Henry <[EMAIL PROTECTED]> wrote: > I need to get rid of these brackets in order to get > ultraedit to eat the > lines. > Is there any simple way of doing this? > > thanks > > Stephan Frank Henry > Progr

Re: ant build problem?

2005-11-16 Thread Ivan Ivanov
Hello, --- Kapta Ulo <[EMAIL PROTECTED]> wrote: > i'm trying to get ant sign a jar but am having > problems, What is the exact error message you are getting and what is the build script you are trying to execute? > i am using the ant that comes with eclipse 3.1.1 sdk You'd better try with a stan

Re: problems with current working directory and

2005-11-15 Thread Ivan Ivanov
Hello Marc, --- [EMAIL PROTECTED] wrote: > Hi, > > I've setup my project with cruisecontrol, so that my > build.xml gets called > from a parent directory. How is your build.xml called exactly? > > The problem is that my unit tests that have relative > paths in them all > fail now because the c

Re: which class belongs to tag

2005-11-11 Thread Ivan Ivanov
Hello Antoine, task is implemented in org.apache.tools.ant.taskdefs.ExecTask. You can see the mappings between task tag names (like , ) and their implementing classes on [1]. Regards Ivan [1]http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properti

Request for adding a presentation in Resources section

2005-10-27 Thread Ivan Ivanov
and http://isoc.bg";>Internet Society - Bulgaria. + + + Authors: + Ivan Ivanov, Petar Tahchiev + + + URL: + http://sourceforge.net/project/showfiles.php?group_id=103509&package_id=126920";>http://sourceforge.net/project/showf

RE: CVS failure notification..

2005-08-19 Thread Ivan Ivanov
Hello, --- Rizwan Merchant <[EMAIL PROTECTED]> wrote: > I looked through Mailloggers..it doesnt seem to have > the capability to send > out emails based on specific target errors..i.e > error on target 1 --> send email to person 1 > error on target 2 --> send email to person 2 Yes, I see... Well,

RE: CVS failure notification..

2005-08-19 Thread Ivan Ivanov
go > about doing what we want... > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 19, 2005 11:08 AM > To: Ant Users List > Subject: Re: CVS failure notification.. > > > Hello, > > one way to do this is to use erro

Re: CVS failure notification..

2005-08-19 Thread Ivan Ivanov
Hello, one way to do this is to use error and output attributes of task (quote from [1]): output - the file to direct standard output from the (cvs) command. error - the file to direct standard error from the (cvs) command So you can store the error in a text file, than load that file as a prope

Re: Is should be simple...but

2005-08-18 Thread Ivan Ivanov
Hello Ninju, --- Ninju Bohra <[EMAIL PROTECTED]> wrote: > > How do I get 1.4 bytecode emitting using the > task with jdk1.5.0_04 Well, can you try with Regards Ivan Start your day with Yahoo! - make it your home page htt

RE: encrypted passwords with ant

2005-08-17 Thread Ivan Ivanov
tomize the report generated by > . > > Regards > Jeremie > > > -Original Message- > > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > > Sent: mercredi 17 août 2005 16:22 > > To: Ant Users List > > Subject: RE: encrypted passwords with ant >

RE: encrypted passwords with ant

2005-08-17 Thread Ivan Ivanov
Hello, Check the article "Extending Ant Input Abilities" on [1] if you decide to passwords and want to mask them; however, you can also write some code that srambles your passwords, keeps them in a property file and then you can have a task that descrambles them Regards Ivan [1]http://ant.apach

RE: Is it possible to trigger a output log file while running a target?

2005-08-16 Thread Ivan Ivanov
Hello, [1] task might be useful for you. Regards Ivan [1]http://ant.apache.org/manual/CoreTasks/recorder.html --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi Jeremie, > > the screen outputs I want to record are come from > some java tasks, so I > think echo task maybe cannot accomplish it. > >

Re: Replace a token with " in a text file with ANT

2005-08-10 Thread Ivan Ivanov
Hello, check [1] task. Regards Ivan [1]http://ant.apache.org/manual/OptionalTasks/replaceregexp.html --- Asif Chowdhary <[EMAIL PROTECTED]> wrote: > Hi, > > I have a .bat file in which I want to replace the @ > symbol with a quotation mark ". > > How do you do that in ANT. > > Thanks > >

Re: Retrieving current date & time values in defferent variables

2005-08-10 Thread Ivan Ivanov
Hello, Jan lead you to the correct direction and here is some real code: HTH Ivan --- Karunakar Chatla <[EMAIL PROTECTED]> wrote: > I think it gets the timestamp to only one property. > I wanted each time part in separate property. > Like... > year i

Re: AW: Please add sqlunit project in the external page

2005-08-05 Thread Ivan Ivanov
k and a > little bit > >on the text. > >will do it in a few hours > > > > > >Jan > > > >>-Ursprüngliche Nachricht- > >>Von: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > >>Gesendet: Sonntag, 31. Juli 2005 10:48 > >>An: user@ant.apache.org &g

Re: Eclipse input task -inputhandler

2005-08-05 Thread Ivan Ivanov
Mark, You can do it by writing a class that extends oata.input.InputHandler and in handleInput(InputRequest) method you can code the visual (Swing) components in which you can enter and submit your info. Some time ago I wrote a document called " Extending Ant Input Abilities" which you can find a

Error adding sqlunit project in the external page

2005-08-01 Thread Ivan Ivanov
[2]http://marc.theaimsgroup.com/?l=ant-user&m=112279971330638&w=2 --- Ivan Ivanov <[EMAIL PROTECTED]> wrote: > Dear Colleagues, > > Could you please add sqlunit project in the external > projects page? Here is its info and I am attaching > also a diff of xdocs/external.xml: >

Please add sqlunit project in the external page

2005-07-31 Thread Ivan Ivanov
Dear Colleagues, Could you please add sqlunit project in the external projects page? Here is its info and I am attaching also a diff of xdocs/external.xml: SQLUnit Compatibility: Tested with Ant 1.6 URL: http://sqlunit.sourceforge.net Contact: Project forums License: GPL Thank you in advance Iva

Re: Test for empty folder?

2005-07-27 Thread Ivan Ivanov
Hello, the following script sets a property depending whether a given folder is empty or not: $${emptyprop} is ${emptyprop} $${notemptyprop} is ${notemptyprop} You might want to isolate the above code in a for easier reusing. Note that th

Re: Hard relative pathname problem

2005-07-27 Thread Ivan Ivanov
Hello, Have you tried defining properties for your paths using task with location attribute? --- Steve Pruitt <[EMAIL PROTECTED]> wrote: > > My build file is located here: > > C:\top\A\B\build.xml > > and I need to include the file found here: > > C:\top\C\D\E\F\somefile.xml You can do it

Re: Is it possible to print the DAG created internally by Ant ????

2005-07-26 Thread Ivan Ivanov
--- Ivan Ivanov <[EMAIL PROTECTED]> wrote: > > Ant manages the target dependencies by using > topological sorting of targets. And yes, I forgot to mention that when Ant is run in verbose mode it prints the build sequence and complete build sequence. These are the two sequences f

Re: Is it possible to print the DAG created internally by Ant ????

2005-07-26 Thread Ivan Ivanov
Hello, almost all contemporary Ant users :)) know about Grand tool which is described in [1] and its home page is [2]. I have used Grand tool several times before, because it only draws the build graph but it also visualizes the and usages and thus it allowed me to identify the s and replace th

RE: creating -projecthelp default help target

2005-07-25 Thread Ivan Ivanov
e java task is cross platform I > agree that it is > the better way to go. Thanks again. > > > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 25, 2005 4:12 PM > To: Ant Users List > Subject: Re: creating -projec

Re: creating -projecthelp default help target

2005-07-25 Thread Ivan Ivanov
Hello Dewey, What is the operating system you are using. If it is windows, error=2 usually means that windows is not able to find the executable, i.e. it is not in the classpath. Also bear in mind that the usual way of using on windows is like this: and it is described fully in docs[1].

Re: While Looping in ANT

2005-07-22 Thread Ivan Ivanov
Hello Jacob, I am not quite sure I understand what do you mean. --- "Jacob, Anil - MWL" <[EMAIL PROTECTED]> wrote: > > Does anyone know how I implement a loop similar to a > while loop? Generally, ant-contrib[1] provides looping tasks like and . > > I want to keep checking to see if a partic

Re: Build ANT 1.7alpha from CVS

2005-07-20 Thread Ivan Ivanov
Hello, you need to have the third-party libraries in order to successfully build the jars like ant-commons.net that contains optional tasks. You can find the library dependencies information at[1]. HTH Ivan [1]http://ant.apache.org/manual/install.html#librarydependencies --- KrustyDerClown <[EM

RE: retrieving project names with subant

2005-07-15 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > hi ivan, > It's for user friendliness purpose, typically: > Hello user: here are all the buildable projects, > choose the projects to build blabla... If you want to give the user ability to choose projects to build, note that accepts s[1] as well. So you can

RE: retrieving project names with subant

2005-07-14 Thread Ivan Ivanov
, but > indeed i want the names of all sub projects in my > main ant files that iterates through these projects. > > > -Original Message- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Thu 7/14/2005 5:34 PM > To: Ant Users List > Subject: Re: re

Re: retrieving project names with subant

2005-07-14 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > > hello gentle people; > is there a way to retrieve the names of the project > being run when using subant? The name of the currenr project is stored in the built-in property ant.project.name. So you can use something like this: Main project na

Re: Queries on using ANT

2005-07-13 Thread Ivan Ivanov
Karanukar, > 2) Can I publish an HTML page on a web page using > ANT? I dealt with publishing HTML pages via Ant last week and I am now having great success using WebDAV and the WebDAV Ant tasks from Jakarta Slide project[1]. You can check also this thread[2] for some references and nice links on

Re: build.xml for javadoc of entire folder tree

2005-07-12 Thread Ivan Ivanov
Hello, --- JS developer <[EMAIL PROTECTED]> wrote: > hi, > i'm a beginner with ant, i want to generate the > javadoc for the entire src.zip that comes with the > sun jdk download. Quite an ambitious undertaking :). Why don't you just download it from[1]. Anyway, it you want it for educational p

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Ivan Ivanov
Asle, --- Asle Pedersen <[EMAIL PROTECTED]> wrote: > I prefer alt.3 and try using taskdefs before without > success. I did > try it again now also not successfully. Could you > please supply me > with a complete working example? I've implemented this approach only once for , because I was only cu

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Ivan Ivanov
Asle, You have several other alternatives to keep your ant distribution clean of external libs: 1) Put commons-net-1.1.0.jar in $HOME\.ant\lib (my favourite way) 2) Place it an arbitrary directory say /path/to/thirdparty/jars and use -lib option of ant launching script. 3) (Requires more coding a

Re: Capturing XML validation output

2005-07-11 Thread Ivan Ivanov
gt; , in which case you might like to try > something like this untested version: > > > > > > > > > > > > > > > > > > > > Ivan Ivanov wrote: > > > > >Yaakov, > > > > > >I think that you can us

Re: CVS Tag with ANT or CruiseControl

2005-07-11 Thread Ivan Ivanov
Michael, --- KrustyDerClown <[EMAIL PROTECTED]> wrote: > Hello, > > i have this little ANT target: > > > dest="${cvs.dir}" failonerror="yes"> > > > > > > Is there an easy solution to increase the tag ? You can increase the tag by using javascript (or

Re: Capturing XML validation output

2005-07-10 Thread Ivan Ivanov
se you might like to try something like > this untested version: > > > > > > > > > > Ivan Ivanov wrote: > > >Yaakov, > > > >I think that you can use [1] task for > >validation of your xml files and task to &g

Re: Capturing XML validation output

2005-07-10 Thread Ivan Ivanov
Yaakov, I think that you can use [1] task for validation of your xml files and task to capture the output of the validation (untested but might give you an idea): HTH Ivan [1]http://ant.apache.org/manual/OptionalTasks/xmlvalidate.html [2]http://ant.apache.org/manual/CoreTasks/recorder.h

Re: HTTP tasks

2005-07-07 Thread Ivan Ivanov
stes try: > > http://www.tldp.org/HOWTO/Apache-WebDAV-LDAP-HOWTO/ > > http://www.webdav.org/mod_dav/ > > http://www.serverwatch.com/tutorials/article.php/2176771 > > > For versioning, etc... try using Subversion w/ > Autoversioning turned on. > > > > Ivan Ivan

Re: HTTP tasks

2005-07-06 Thread Ivan Ivanov
Robert, thank you for the help. I will try that script as soon as I figure out how to configure Apache to allow PUT method and I will let you know. It is an offtopic, but I tried to make Apache httpd accept my PUT request for a couple of days with no success. I followed mainly [1]. So I would be

HTTP tasks

2005-07-01 Thread Ivan Ivanov
Dear Colleagues, I am looking for an Ant task that implements HTTP PUT method so that I can upload files to a web server. Is there such a task or should I write it myself? Also, while I was googling for it, I noticed that there is a proposal in Ant for http tasks, located at [1], that claim they

Re: Ant + JUnit: Missing Test Output

2005-06-30 Thread Ivan Ivanov
Hello Donald, A quick look at you code shows that you are not using printsummary and showoutput attributes and Ant task. You can find them described at[1] HTH Ivan [1]http://ant.apache.org/manual/OptionalTasks/junit.html --- Donald McLean <[EMAIL PROTECTED]> wrote: > I'm trying to set up a con

Re: Ant 1.6.5 doesn't work on Fedora core 4

2005-06-29 Thread Ivan Ivanov
Hello, If Ant 1.6.5 does not work on FC4, I promise I will never post a message here. Several days ago, there was a thread[1] about Ant on FC and it contains some instructions on how to start debugging. HTH Ivan [1]http://marc.theaimsgroup.com/?l=ant-user&m=111988958425993&w=2 --- Sandy <[EMAI

Re: checking out in XP

2005-06-28 Thread Ivan Ivanov
Diana, CVS port number is specified as part of CVSROOT like this: method:[EMAIL PROTECTED]:port:/path_to_repository See [1] for more info. You can also specify the port as an attribute of task[2]. HTH Ivan [1]https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_2.html#SEC26 [2]http://ant.apache

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
is tricky to control the Ant version that comes with FC3 and the version that you manually installed. So I would favor deleting the older version. It perhaps can be done with the command rpm -ev ant-1.6.2-3jpp but it is not tested and I take no responsibility :)) HTH Ivan &g

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
noticed it in the ant manual. Could you please give more light on it? Ivan > > (NOTE: the double dash and the single dash). > > Peter > > Ivan Ivanov wrote: > > >--- Diana Steffen <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi Ivan,

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Diana Steffen <[EMAIL PROTECTED]> wrote: > Hi Ivan, > > > What linux distribution are you using? > > Fedora Core 3. I really thought it was FC3. > > Can you check the value of JAVA_HOME (echo > $JAVA_HOME) > > /usr/java/jdk This is where you have installed your own jdk. > > > and the

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
Diana, What linux distribution are you using? Some distributions come with preinstalled JDKs. Some like Fedora Core 3 come with GCJ (GNU compiler for java) and GCJ executables have the same names as Sun JDK. Can you check the value of JAVA_HOME (echo $JAVA_HOME) and the location of java executable

Re: Calling a target from within a target and passing arguments...

2005-06-20 Thread Ivan Ivanov
Yes, it can, is what you are looking for. HTH Ivan --- "Santoshi, Vishal" <[EMAIL PROTECTED]> wrote: > Is it possible to call a target from within another > target and pass in > arguments to the called target ? > > Or > > Is this possible? > > > > > > > > > __

Re: Detecting JDK Version using ANT

2005-06-15 Thread Ivan Ivanov
Hello, you can try with java.version property: $${java.version} is ${java.version} $${java.runtime.version} is ${java.runtime.version} Regards Ivan --- Zarar Siddiqi <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a clean way to detect what version of Java > is being used w

RE: Mail a nice pretty html build log...

2005-06-14 Thread Ivan Ivanov
--- [EMAIL PROTECTED] wrote: > > Hello > > Kindly post this information to the group. > > Thanks > srikrishna Hello, Below you will find MailAttachLogger.java. Here are instruction how to test it: 0) Compile and jar MailAttachLogger.java 1) Copy the jar to ${user.home}/.ant/lib 2) Download J

RE: Mail a nice pretty html build log...

2005-06-14 Thread Ivan Ivanov
; Let me know. Regards Ivan > > -Rob A > > > -Original Message- > > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 14, 2005 12:05 PM > > To: Ant Users List > > Subject: Re: Mail a nice pretty html build log... > > >

Re: Mail a nice pretty html build log...

2005-06-14 Thread Ivan Ivanov
Rob, I have an extension of MailLogger that allows to send emails with some files attached to it. It works pretty closely to the original oata.listener.MailLogger. You only should specify the location of the attachments by specifying MailLogger.success.attachments and MailLogger.failure.attachment

Re: valid characters for target names

2005-06-10 Thread Ivan Ivanov
--- Mark Lybarger <[EMAIL PROTECTED]> wrote: > hyphens work quite well for target names. I would > guess underscores will > also work. one trick to having a target that you > don't want to be called > directly is to name it with double hyphens. Actually one hyphen will do it also: > for e

Re: stripping chars from property

2005-06-04 Thread Ivan Ivanov
Hello Henrik, Here is one way to do this using ant-contrib[1] and its task [2]: $${ext.version.undotted} is ${ext.version.undotted} The output of this build file is: [echo] ${ext.version.undotted} is 400. There are also other ways to do it, like using and a scripting language like

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
is not responding, or > can i waitfor this condition? > > On 5/10/05, Ivan Ivanov > <[EMAIL PROTECTED]> wrote: > > > > Hello Mark, > > > > I think socket condition might help you: > > > > > > > > > > > > > &g

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
Hello Mark, I think socket condition might help you: $${server.down} is ${server.down} Here is the output of two checks against bound and unbound ports: $ ant -f ports.xml -Dport=123 Buildfile: ports.xml [echo] ${server.down} is true i.e. there is no one listening

Re: java executable

2005-05-06 Thread Ivan Ivanov
Hello Eric, --- "Sun, Eric" <[EMAIL PROTECTED]> wrote: > I am new to Ant. I have two questions: > 1. How to include all needed library in the final > jar file so that when > run the application, no any other jar library is > needed? One way to do it is to [1] all other jars and to [2] them again wi

Re: New Feature Request - passwordChar on task

2005-05-06 Thread Ivan Ivanov
Hello Ninju, sometimes ago I also tackled down the problem of entering passwords (sensitive information) via input task and I documented my attempts in an article called "Extending Ant Input Abilities". You can find it on [1], the first one in section articles. In short, the way Ant reads its inp

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Ivan Ivanov
Hello Ben, Have you tried with to your custom task with classpath nested tag: HTH Ivan --- Ben Gill <[EMAIL PROTECTED]> wrote: > Hi, > > My custom Ant task relies on the Spring jar files, > but whatever I try, I get > a class not found exception.. > > I read a lot of posts on this

Re: Output of SQL-task

2005-05-02 Thread Ivan Ivanov
Hello, --- [EMAIL PROTECTED] wrote: > My only problem is that the ouptu is as follows : > > 9002 > 9003 > 9005 > 9006 > 9000 > 9001 > > 0 rows affected > > > How can I remove the last line... indicating the nbr > of lines impacted ... ? It does not come to my mind how to configure sql task to

Re: extracting project revision number

2005-04-29 Thread Ivan Ivanov
Hello Andre, Assuming we have a file called build.number that contains the single line: build.revision="$Rev: 24 $" here is a sample snippet that will might help you: ${line} $${version} = ${version} Here we use propertyregex task[2] from ant-contrib[1]. HTH Ivan [1]http://ant-c

Re: Ant 1.6.3 release

2005-04-29 Thread Ivan Ivanov
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > Either you've been too early or your Proxy or your > browser cache is > delivering old content. > > Stefan Thank you, Stefan, the culprit was my browser's cache. Ivan __ Do You Yahoo!? Tired of spam

Re: Ant 1.6.3 release

2005-04-29 Thread Ivan Ivanov
Dear Colleagues, Last night I downloaded Ant 1.6.3 to give it a try. However, I saw that on Ant home page, still Ant 1.6.3beta1 is promoted and there is no section for Ant 1.6.3. Wouldn't it be more appropriate if such a section is added too? Thank you Ivan _

Re: set to new a file.

2005-04-28 Thread Ivan Ivanov
Hello Rodolfo, If I understand correctly the following might help you: It will create a brand new file if there is not or it will empty it if there is a log file. HTH Ivan --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > For initialize my logs files I need to create a

  1   2   3   >