Re: Controlling the application name

2008-06-18 Thread James Carman
Yes, you can use any property expression you like.  Using
project.artifactId is what you want if you're just looking to use the
artifact id, though.  Good point!

On Wed, Jun 18, 2008 at 4:06 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Or "${project.artifactId}"
>
>
> On Wed, Jun 18, 2008 at 8:57 PM, James Carman <[EMAIL PROTECTED]>
> wrote:
>
>> It's a maven question.  Put a  element inside your 
>> element in your pom.xml file:
>>
>> 
>>  mycoolapp
>>  ...
>> 
>>
>>
>> On Wed, Jun 18, 2008 at 3:36 PM, Frank Silbermann
>> <[EMAIL PROTECTED]> wrote:
>> > This question pertains to the infrastructure provided with the
>> > QuickStart, but not specifically with Wicket, so you might want to
>> > replay via e-mail rather than to the list.
>> >
>> > When I use Maven to package my application, it appends a version number
>> > (or SNAPSHOT indicator) into the name of my .war file.  When I drop my
>> > .war file into Tomcat's webapp folder, the .war filename becomes the
>> > application name, part of the URL that users must enter.
>> >
>> > I do not want the version number to be part of the web application's
>> > URL.  I want to be able to change the version without making the user
>> > update all bookmarks.  One way to do this is to manually change the name
>> > of the .war file to eliminate the version information before providing
>> > it to Tomcat, but that seems clumsy.  Is there some way I can tell Maven
>> > to deploy the .war file to my Tomcat directory without the version
>> > number?  Alternately, is there something I can put in my application's
>> > context.xml file to tell Tomcat to use something other than the .war
>> > filename as the application name?
>> >
>> > What is the right way to do this?  Is this a Maven question or a Tomcat
>> > question?
>> >
>> >
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Controlling the application name

2008-06-18 Thread Gwyn Evans
Or "${project.artifactId}"


On Wed, Jun 18, 2008 at 8:57 PM, James Carman <[EMAIL PROTECTED]>
wrote:

> It's a maven question.  Put a  element inside your 
> element in your pom.xml file:
>
> 
>  mycoolapp
>  ...
> 
>
>
> On Wed, Jun 18, 2008 at 3:36 PM, Frank Silbermann
> <[EMAIL PROTECTED]> wrote:
> > This question pertains to the infrastructure provided with the
> > QuickStart, but not specifically with Wicket, so you might want to
> > replay via e-mail rather than to the list.
> >
> > When I use Maven to package my application, it appends a version number
> > (or SNAPSHOT indicator) into the name of my .war file.  When I drop my
> > .war file into Tomcat's webapp folder, the .war filename becomes the
> > application name, part of the URL that users must enter.
> >
> > I do not want the version number to be part of the web application's
> > URL.  I want to be able to change the version without making the user
> > update all bookmarks.  One way to do this is to manually change the name
> > of the .war file to eliminate the version information before providing
> > it to Tomcat, but that seems clumsy.  Is there some way I can tell Maven
> > to deploy the .war file to my Tomcat directory without the version
> > number?  Alternately, is there something I can put in my application's
> > context.xml file to tell Tomcat to use something other than the .war
> > filename as the application name?
> >
> > What is the right way to do this?  Is this a Maven question or a Tomcat
> > question?
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Controlling the application name

2008-06-18 Thread James Carman
It's a maven question.  Put a  element inside your 
element in your pom.xml file:


  mycoolapp
  ...



On Wed, Jun 18, 2008 at 3:36 PM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> This question pertains to the infrastructure provided with the
> QuickStart, but not specifically with Wicket, so you might want to
> replay via e-mail rather than to the list.
>
> When I use Maven to package my application, it appends a version number
> (or SNAPSHOT indicator) into the name of my .war file.  When I drop my
> .war file into Tomcat's webapp folder, the .war filename becomes the
> application name, part of the URL that users must enter.
>
> I do not want the version number to be part of the web application's
> URL.  I want to be able to change the version without making the user
> update all bookmarks.  One way to do this is to manually change the name
> of the .war file to eliminate the version information before providing
> it to Tomcat, but that seems clumsy.  Is there some way I can tell Maven
> to deploy the .war file to my Tomcat directory without the version
> number?  Alternately, is there something I can put in my application's
> context.xml file to tell Tomcat to use something other than the .war
> filename as the application name?
>
> What is the right way to do this?  Is this a Maven question or a Tomcat
> question?
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Controlling the application name

2008-06-18 Thread Frank Silbermann
This question pertains to the infrastructure provided with the
QuickStart, but not specifically with Wicket, so you might want to
replay via e-mail rather than to the list.
 
When I use Maven to package my application, it appends a version number
(or SNAPSHOT indicator) into the name of my .war file.  When I drop my
.war file into Tomcat's webapp folder, the .war filename becomes the
application name, part of the URL that users must enter.
 
I do not want the version number to be part of the web application's
URL.  I want to be able to change the version without making the user
update all bookmarks.  One way to do this is to manually change the name
of the .war file to eliminate the version information before providing
it to Tomcat, but that seems clumsy.  Is there some way I can tell Maven
to deploy the .war file to my Tomcat directory without the version
number?  Alternately, is there something I can put in my application's
context.xml file to tell Tomcat to use something other than the .war
filename as the application name?
 
What is the right way to do this?  Is this a Maven question or a Tomcat
question?