-
1. Re: Change deployment directory?
maxandersen Sep 13, 2011 7:31 AM (in response to kwutzke)not sure what you mean - all deployable projects should be shown in the list.
Could you be a bit more specific ?
Is your project actually a web project ?
-
2. Re: Change deployment directory?
kwutzke Sep 30, 2011 5:50 PM (in response to maxandersen)There's a hard dependency between the name of the Eclipse project and the context root (ultimately the directory name), so that when you name your project "Basketball Stats", JBT will use that as deployment name, which is invalid.
The feature request above is said to be fixed, but I can't find the option in JBT 3.3.3. Where is it?
Karsten
-
3. Re: Change deployment directory?
kwutzke Sep 30, 2011 6:01 PM (in response to kwutzke)Ah found it! Double-click the runtime in the Servers tab - duh.
I wonder now what the Project -> Properties -> Web Project Settings -> Context root: text field is there for...? I tried this before, but it has no effect.
Karsten
-
4. Re: Change deployment directory?
rob.stryker Oct 2, 2011 11:03 PM (in response to kwutzke)There has been a lot of debate as to what exactly we should do when a user changes the "context root" section of that page. We've never really come up with an answer. Our options included changing the context root in their descriptor file, or, if they don't have a descriptor, creating a new descriptor file and setting the context root there. This was pretty unpopular. Other options were changing the war deployment name, which also seemed non-intuitive for a user.
So basically, ti's a property that WTP has put there, but that we haven't figured out how to use in a way that works for us. So we mostly ignore it (sadly).
-
5. Re: Change deployment directory?
maxandersen Oct 4, 2011 2:01 AM (in response to rob.stryker)The property is used when you do "Run As..." to know which URL to use.
If we could find a way to let jboss know this was the context root you wish to have without changing the archive that would be awesome. But we haven't found such way.