creating build.xml for web application.

4 messages Options
Embed this post
Permalink
jithesh

creating build.xml for web application.

Reply Threaded More More options
Print post
Permalink
Hi,

           I created a simple web project that updates the DB2 table. I was able to generate .war file from eclipse IDE. I tried to generate .war file using ant script. I made a build.xml and it is generating the .war file. But I found that none of my suppoeted jar files are in the .war file. All the jar files (db2) are stored under <project folder>/lib  directory. Can any one guide me to write the build.xml so that I can generate a .war file that contains my jar file.

 Regards,
Jithesh PM
mraible

Re: creating build.xml for web application.

Reply Threaded More More options
Print post
Permalink
Are you using AppFuse?

On Tue, May 26, 2009 at 8:58 AM, jithesh <[hidden email]> wrote:

Hi,

          I created a simple web project that updates the DB2 table. I was
able to generate .war file from eclipse IDE. I tried to generate .war file
using ant script. I made a build.xml and it is generating the .war file. But
I found that none of my suppoeted jar files are in the .war file. All the
jar files (db2) are stored under <project folder>/lib  directory. Can any
one guide me to write the build.xml so that I can generate a .war file that
contains my jar file.

 Regards,
Jithesh PM
--
View this message in context: http://www.nabble.com/creating-build.xml-for-web-application.-tp23724771s2369p23724771.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


jithesh

Re: creating build.xml for web application.

Reply Threaded More More options
Print post
Permalink
No its not appfuse. Its a simple web application. I used appfuse 1.9.4.
Regards,
Jithesh PM.
mraible wrote:
Are you using AppFuse?

On Tue, May 26, 2009 at 8:58 AM, jithesh <pm_jithesh@yahoo.com> wrote:

>
> Hi,
>
>           I created a simple web project that updates the DB2 table. I was
> able to generate .war file from eclipse IDE. I tried to generate .war file
> using ant script. I made a build.xml and it is generating the .war file.
> But
> I found that none of my suppoeted jar files are in the .war file. All the
> jar files (db2) are stored under <project folder>/lib  directory. Can any
> one guide me to write the build.xml so that I can generate a .war file that
> contains my jar file.
>
>  Regards,
> Jithesh PM
> --
> View this message in context:
> http://www.nabble.com/creating-build.xml-for-web-application.-tp23724771s2369p23724771.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@appfuse.dev.java.net
> For additional commands, e-mail: users-help@appfuse.dev.java.net
>
>
mraible

Re: creating build.xml for web application.

Reply Threaded More More options
Print post
Permalink
If you're using AppFuse 1.9.4, you should already have a build.xml. To add a new dependency, see the following tutorial:

http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAddLibrary

Here's information for DB2:

http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnDB2

Matt

On Wed, May 27, 2009 at 1:19 AM, jithesh <[hidden email]> wrote:

No its not appfuse. Its a simple web application. I used appfuse 1.9.4.
Regards,
Jithesh PM.

mraible wrote:
>
> Are you using AppFuse?
>
> On Tue, May 26, 2009 at 8:58 AM, jithesh <[hidden email]> wrote:
>
>>
>> Hi,
>>
>>           I created a simple web project that updates the DB2 table. I
>> was
>> able to generate .war file from eclipse IDE. I tried to generate .war
>> file
>> using ant script. I made a build.xml and it is generating the .war file.
>> But
>> I found that none of my suppoeted jar files are in the .war file. All the
>> jar files (db2) are stored under <project folder>/lib  directory. Can any
>> one guide me to write the build.xml so that I can generate a .war file
>> that
>> contains my jar file.
>>
>>  Regards,
>> Jithesh PM
>> --
>> View this message in context:
>> http://www.nabble.com/creating-build.xml-for-web-application.-tp23724771s2369p23724771.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>

--
View this message in context: http://www.nabble.com/creating-build.xml-for-web-application.-tp23724771s2369p23737269.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]