RE: WAR task in ANT

2006-03-23 Thread Ruth Lydia Samuel
Hi, Actually i want to include my source files also in my war file. The purpose is that the war file will be imported into my web project and i want my source files to come at the proper location inside my web project. This is how i want my web project to look like when i import my war fi

Re: Ant task to handle HTTPResponse status code (HELP!!!)

2006-03-23 Thread Ivan \"Rambius\" Ivanov
Hello, I suppose you will need a fully fledged http client like Jakarta Commons HttpClient[1]. Sending any http request using its API is pretty easy. Then you can encapsulated the request and the status handling in a task/scriptdef. I noticed once a conversation in ant-user or ant-dev about http

RE: Get the modification time of a file into a property.

2006-03-23 Thread Anderson, Rob (Global Trade)
That sounds like it would work. I'll give it a try. Thanks. -Rob A > -Original Message- > From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 23, 2006 11:51 AM > To: Ant Users List > Subject: RE: Get the modification time of a file into a property. > > Why not do

Re: Including a specific Manifest file

2006-03-23 Thread Antoine Levy-Lambert
Hello Jasneet, please look at the documentation of both the and of the tasks. Most (or all) what is documented concerning the task is also true of . The reverse is not true. The reason is that extends . A manifest nested element can be used describing inline what you want to have. Or you can

Ant task to handle HTTPResponse status code (HELP!!!)

2006-03-23 Thread Thod Nguyen
I'm looking for an existing Ant task that will allow me to look at the HTTPResponse status code so that i know what to do next I've tried nested conditions but this task only handles 2 conditions (if status code <=400, its successful otherwise, it's a failure). This is not what i want. Any

Re: Get the modification time of a file into a property.

2006-03-23 Thread Dominique Devienne
> Why not do it like this: > > if lastrun.txt doesn't exist, >use to generate the last run date/time and file="lastrun.txt"> to write it to the file lastrun.txt > else >use to load lastrun.txt Nevermind my post, this is smarter! --DD

Re: Get the modification time of a file into a property.

2006-03-23 Thread Dominique Devienne
> 1. If lastrun.txt exists, get the modification time into a property. > 2. Extract the documents based on the property if it exists. If property > does not exist, just get everything. > 3. Touch the file lastrun.txt > > I don't know how to accomplish step 1. I could write a wrapper script to > get

RE: Get the modification time of a file into a property.

2006-03-23 Thread RADEMAKERS Tanguy
Why not do it like this: if lastrun.txt doesn't exist, use to generate the last run date/time and to write it to the file lastrun.txt else use to load lastrun.txt /t >-Original Message- >From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] >Sent: Thursday,

Get the modification time of a file into a property.

2006-03-23 Thread Anderson, Rob (Global Trade)
I have a custom Ant task that I am using to extract documents from a document management system based on modification time. I plan to touch a file (lastrun.txt) at the end of the process to capture the time that the process ran, then during the next run somehow get the modification time of that fil

What do you guys make out of this error?

2006-03-23 Thread Res Pons
OK, reposting this again, got no response. Also anyone in the Ant user group using Anthill, have you see this error and what do you make of it? I don't think my FSF respository is corrupted as this is only happening with Anthill and all other users are having NO problem reproted. Hi everyone

Re: WAR task in ANT

2006-03-23 Thread Naveen Kumar A.H
Hi ur problem is not clear if u want to place .class files into web-inf/classes folder use Nested elements ... regards Naveen - Original Message - From: "Ruth Lydia Samuel" <[EMAIL PROTECTED]> To: Sent: Thursday, March 23, 2006 7:13 PM Subject: WAR task in ANT Hi, I'm having iss

WAR task in ANT

2006-03-23 Thread Ruth Lydia Samuel
Hi, I'm having issues using the WAR task in ANT when i try to bundle the source(.java) files also. It bundles the files. But if i try to export it into my webproject, all the source files get extracted to the webcontent part of the webproject rather than the javacontent. So the required