[ http://jira.codehaus.org/browse/MNG-2317?page=all ]

Milos Kleint updated MNG-2317:
------------------------------

    Attachment: nbwebapproject.zip

a zip of a sample netbeans project. The way it works is following.
important files are nbproject/project.properties which is shareable in cvs/svn 
and nbproject/private/private.properties which is not shareable.
project.properties contains just the "j2ee.server.type" token that designates 
if it's a jboss or tomcat or else.
private.properties has the actual instance of that type for this particular 
user in the property j2ee.server.instance
on top of that it also stores the j2ee.platform.classpath property with jars in 
the app server and puts them on classpath for compilation etc. if the user 
doesn't have these private props on opening the project he's prompted for it. 
the IDE is also able to default to server of the same type if defined.



> Provided scope dependencies are based in target app server, current approach 
> doesn't work very well
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2317
>                 URL: http://jira.codehaus.org/browse/MNG-2317
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Dependencies
>    Affects Versions: 2.0.4
>            Reporter: Carlos Sanchez
>             Fix For: 2.1
>
>         Attachments: nbwebapproject.zip
>
>
> We'd need a mechanism for the user to set the target app server for stuff 
> like wars, ears,...
> Maybe a plugin, maybe a core feature, that would iterate through dependencies 
> and set scope as "provided" depending on the filter
> A filter can be an xml file listing the dependencies that have to be provided 
> (grop+artifact ?+version?)
> we can provide a set of predefined filters like tomcat4, tomcat5, 
> geronimo,... and the user would be able to add new ones

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to