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

2006-01-03 Thread Ivan Ivanov
Hello, task has some library dependencies - it needs JavaMail API and JAF (Java Activation Framework API). See [1] on where to obtain them and after you obtain them put the jars either in ${ant.home}/lib or ${user.home}/.ant/lib. Regards Ivan [1]http://ant.apache.org/manual/install.html#library

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

2006-01-03 Thread Alexey N. Solofnenko
Unless there is something wrong with your particular HTML attachment, please check your classpath. Is it possible that you have some old JAF/JavaMail there. Please also check ANT's and JRE lib/** folders. - Alexey. Chon, Ae H wrote: I removed the charset attribute and getting the following me

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

2006-01-03 Thread Chon, Ae H
I removed the charset attribute and getting the following message. [mail] Failed to initialise MIME mail: javax/activation/DataSource [mail] Sending email: BUILD FAILED: TurboPlanner 0.3.0.52 [mail] Sent email with 1 attachment It says it sent it with 1 attachment; but what it actual

Combining static file with results

2006-01-03 Thread Scott Sauyet
I asked a question yesterday with too much of a preconceived idea of the solution (http://tinyurl.com/cqqw3) and I'd like to try again in a more general fashion. Can anyone suggest a way of combining the information from one file with the results of an that doesn't involve a temporary file.

subant (was Re: [SPAM] - Re: Problem: Ant's SQL ...)

2006-01-03 Thread Stefan Bodewig
Hi Shreedhar please start a new thread with a fresh subject when you post an unrelated question. On Tue, 3 Jan 2006, shreedhar natarajan <[EMAIL PROTECTED]> wrote: > Is there a way to execute all sub-builds with a single subant call. Sure. > For eg. > > > > > > The above call buil

building with subant

2006-01-03 Thread shreedhar natarajan
Sorry did n't edit subj. in my previous mail. Is there a way to execute all sub-builds with a single subant call. For eg. The above call builds all sub-builds in current directory. I need to handle nested directories(not only the first level but also subsequent levels). Thanks, Shr

RE: [SPAM] - Re: Problem: Ant's SQL task does not support copy via indirection - Bayesian Filter detected spam

2006-01-03 Thread shreedhar natarajan
Is there a way to execute all sub-builds with a single subant call. For eg. The above call builds all sub-builds in current directory. I need to handle nested directories(not only the first level but also subsequent levels). Thanks, Shreedhar -Original Message- From:

Re: Problem: Ant's SQL task does not support copy via indirection

2006-01-03 Thread Kev Jackson
On 3 Jan 2006, at 12:19, VGupta wrote: If the sql file contains data to be loaded in the following format COPY bcd (PolicySymbol, StateCode, SqlTable, CallType, SubType, FieldIdentifier, TagName) FROM stdin; PAC $$ AGR_ST_COV RATE/AUDIT MOD_FACTOR4 PRICING TIER PAC $$ AGR_ST_COV RATE/AU

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

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

2006-01-03 Thread Chon, Ae H
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 message. Build failed due to errors!

RE: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Stephen McConnell
> -Original Message- > From: Mark Russell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 4 January 2006 3:42 AM > To: Ant Users List > Subject: Re: calling ant API from java instead of using > build.xml from console > > I would be interested in looking at that code You can checkout so

Re: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Mark Russell
I would be interested in looking at that code Stephen McConnell wrote: The approach your taking is kind of out of sync with the Ant object model. A much easier approach is to construct your project, then parameterize the project and finally trigger project execution. The parameterization of t

RE: calling ant API from java instead of using build.xml from console

2006-01-03 Thread Stephen McConnell
The approach your taking is kind of out of sync with the Ant object model. A much easier approach is to construct your project, then parameterize the project and finally trigger project execution. The parameterization of the project could include: a) assign a project basedir b) assigning a

Compiling and Linking

2006-01-03 Thread shreedhar natarajan
Hi all, I want to use cc task to just compile the files and create obj without linking. After few steps, I just wud like to link the objs without compiling. Does CC provides a facility for that ? Thanks, Shreedhar - To unsubsc

RE: websphere script install problem

2006-01-03 Thread Erskine, Chris
Also, related to this, execute the wsadmin command outside of Ant and debug it. There is also a way to define the virtual host within JACL if you do not have the xmi file. Chris Erskine EDS Consulting Services Colorado Springs, CO Phone: 719-265-5962 Cell: 719-640-6488 -Original Message-

RE: Unable to archive properly

2006-01-03 Thread Jon Skeet
> Thank u for all the answers to my silly queries, here is a new one, > > I tried to create a jar file of the java classes in the > dest folder, but > it is creating a jar file with a info file namely > Manifest.mf"" which doesnt have any class files at all, > What could be th

Unable to archive properly

2006-01-03 Thread K.Srikumar
hai, Thank u for all the answers to my silly queries, here is a new one, I tried to create a jar file of the java classes in the dest folder, but it is creating a jar file with a info file namely Manifest.mf"" which doesnt have any class files at all, What could be the problem?

Re: Which command line parameter could get all targets' name in build.xml ?

2006-01-03 Thread Yves Martin
Wascally Wabbit <[EMAIL PROTECTED]> writes: > ant -projecthelp gives list of public targets for build.xml in current > directory. (Use -f to name alternative build script.) You may also use ant -v -projecthelp to get all targets (public and internal) Regards, -- Yves Martin --

How to start ant to use the webapps classpath from tomcat?

2006-01-03 Thread Zsolt
Hi, I have tomcat-5.5.12 and I copied all ant libraries (with my ones) into /webapps/APPLICATION-NAME/WEB-INF/lib. When I start ant using project.executeTargets(execTargets) I get class not found exceptions and I think because ant uses the bootstrap classpath of tomcat and not the classpath of my

Re: how to create jar in desired folder?

2006-01-03 Thread Petar Tahchiev
On 03/01/06, K.Srikumar <[EMAIL PROTECTED]> wrote: > > Hello everybody, >Sorry if i am asking silly questions, since i am only a starter. > ... > Now i am able to create jar files, but unable to do so in a desired > folder. > The corresponding code is as follows: > +++

how to create jar in desired folder?

2006-01-03 Thread K.Srikumar
Hello everybody, Sorry if i am asking silly questions, since i am only a starter. ... Now i am able to create jar files, but unable to do so in a desired folder. The corresponding code is as follows: