Re: Manual Packaging for Deployment - J2ee

From: Tony Morris (dibblego_at_optusnet.com.au)
Date: 01/05/04


Date: Mon, 5 Jan 2004 22:32:57 +1000

I use Ant for everything, including the creation of deployment descriptors.
Not only will you learn the de facto standard in Java build tools, but you
may even learn about J2EE and the deployment descriptor definitions that are
required - I usually write them by hand.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software
"Bob Reynolds" <bob@bigpond.com> wrote in message
news:XgbKb.78516$aT.60471@news-server.bigpond.net.au...
> Hello,
>
> I have a requirement to create EAR and WAR packages without using the
> integrated package building tools built into the IDE. The packages will be
> created via a deployment script, preferably on a Win2k/Xp machine (less
> preferably we have a solaris 9x box - however i really need to get this
> running on xp or i'll be shuffling files between systems constantly)
>
> To be honest, all i've ever used is my IDE, in this case Sun One Studio
> (forte) to build my EARs and WARs but now I need to build my packages on a
> dedicated build box thats tied in with our Source Repository.. Meaning i
> have to go to first principles to create the packages...
>
> Retrieving the files from the Code Bank isnt the issue, but compiling and
> packaging the files is.
>
> I'm using Javac to create my class files, the bit i'm not sure about
(read,
> currently lost) is the creation of the WAR/EAR, readings suggest that I
use
> the Deploytool, or JAR however I cant find explanitory text on how to use
> those apps..
>
> also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
> mode) as this will be a scripted deployment.
>
> To add something else into the mix, ANT seems a popular choice, however
this
> is something ive never played with before so unless its the "prefered"
> choice of the forum, i'm not planning on going there!
>
> Please throw a few pearls of your collective wisdom my way, anything you
> have would be appreciated.
>
> Cheers
>
>


Relevant Pages

  • RE: Deploy SSIS package from remote computer
    ... My personal preference is to deploy them to the MSDB. ... packages, I want to compartmentalize them there as well. ... I'm interested in your comment about abandoning the deployment utility in ... and select the default deployment path (deploying to SQL Server not File ...
    (microsoft.public.sqlserver.dts)
  • RE: Deploy SSIS package from remote computer
    ... How do you pull them in via SSMS? ... "Todd C" wrote: ... packages, I want to compartmentalize them there as well. ... I'm interested in your comment about abandoning the deployment utility in ...
    (microsoft.public.sqlserver.dts)
  • Re: Multiple network names in single cluster group?
    ... That will work but you will have to enable Kerberos on that Network Name ... resource in oder to support software deployment packages that are hosted by ... So I'm stuck with the problem of migrating the packages to the new file ...
    (microsoft.public.windows.server.clustering)
  • Re: D6 Error opening image
    ... installed the packages in a fresh image, ... (then dismissed the MessageBox warning me about the development system ... Case 1/ Install the packages and then deploy the executable ... I compared the deployment manifests with an xml comparison tool and the ...
    (comp.lang.smalltalk.dolphin)
  • Re: SMS 2003 software distribution points
    ... My deployment share is actually a DFS share. ... of all my packages would always remain correct. ... MVP Windows Server System - SMS ...
    (microsoft.public.sms.swdist)