I think there is another attribute to <Listener>
which is home.Base. Set this where you normally put
user/public_html directory. For example on mine, its
set as homeBase="/home" and user home is
/home/sergio. Once this is working, any war files on
your /home/user/public_html should get expanded.
--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:
> Anybody won't to take a shoot at this?
> Dwayne Ghant wrote:
>
> > Intresting question associated with this subject.
> > If I have "public_html " enabled for developers on
> > local machine ex:
> > <Listener
> className="org.apache.catalina.startup.UserConfig"
> > directoryName="public_html"
> >
>
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
> >
> > Can I have a setting for tomcat to unwar there
> personal test
> > applications in
> > there public_html directories????
> >
> > I'm assuming it would look something like this
> (listed below):
> >
> > <Host name="localhost" debug="0"
> appBase="/home/*/public_html"
> > unpackWARs="true" autoDeploy="true"
> > xmlValidation="false"
> xmlNamespaceAware="false">
> > </Host>
> >
> > I'm probably incorrect, but I do need to know, to
> finish setting up
> > JSP enviornment for
> > java developers like myself.
> > .
> > Rhino wrote:
> >
> >> It's actually very easy to do what you want to
> do.
> >>
> >> Assuming you have correctly installed and
> configured Sysdeo, you will
> >> need
> >> to tell Eclipse where the War file for your
> Tomcat project should be
> >> generated. This is done on a *project* basis,
> i.e. you have to repeat
> >> this
> >> step once for each Tomcat project you create but
> you will never have
> >> to do
> >> this again for a given project unless you change
> the location where
> >> you want
> >> the War file.
> >>
> >> 1. Select the Tomcat project in the Package
> Explorer perspective.
> >> 2. Right click for a context menu. Choose
> 'Properties'.
> >> 3. Within Properties, choose 'Tomcat' from the
> tree on the left.
> >> 4. Click on the 'Export to WAR settings' tab
> within the Tomcat
> >> properties.
> >> 5. Enter the path that tells Tomcat where to
> generate your War file. The
> >> path name should include the file name of the War
> file. I normally
> >> put my
> >> War files in a folder called 'war' directly
> beneath the project so my
> >> "WAR
> >> file for export" looks like this:
> >> D:\eclipse\workspace\MyProject\war\MyProject.war.
> Naturally, you are
> >> free to
> >> organize your files differently.
> >> 6. Click on OK to close the Properties dialog.
> >>
> >> Then, every time you want to regenerate your War
> file, all you need
> >> to do is
> >> this:
> >> 1. Select the Tomcat project in the Package
> Explorer perspective.
> >> 2. Right-click for a context menu. Choose 'Tomcat
> project'.
> >> 3. Choose 'Export to the war file sets in project
> properties'.
> >> 4. You should get a brief message that tells you
> the operation worked.
> >>
> >> Now, if you don't find Tomcat in the Properties
> tree or if you don't
> >> see the
> >> 'Tomcat project' option in the context menu, it
> means you probably
> >> didn't
> >> configure Sysdeo correctly. Don't worry, it's not
> that hard to fix.
> >> Just let
> >> us know and we'll try to help.
> >>
> >> Rhino
> >>
> >> ----- Original Message ----- From: "Daniel
> Watrous"
> >> <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Monday, December 13, 2004 3:43 PM
> >> Subject: WAR files and Eclipse
> >>
> >>
> >> Hello All,
> >>
> >> I am new to WAR files and eclipse. Many searches
> on google bring me
> >> to the
> >> sysdeo tomcat plugin, which I have installed. I
> want to know if
> >> there is
> >> some standard way to generate a WAR file for
> deployment. I have
> >> found that
> >> I can export a JAR file and change its name, but
> in the process the
> >> directory structure is altered. Maybe you even
> know about a better
> >> IDE than
> >> eclipse for working with web-based projects.
> THANKS in advance.
> >>
> >> Daniel
> >>
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
>
>
> --
>
> Dwayne A. Ghant
> Application Developer
> Temple University
> 215.204.5555
> [EMAIL PROTECTED]
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]