[Issue 182] New - Hudson home in jetty:run sensitive to CWD

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 182] New - Hudson home in jetty:run sensitive to CWD

jglick-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=182
                 Issue #|182
                 Summary|Hudson home in jetty:run sensitive to CWD
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|jglick






------- Additional comments from [hidden email] Sat Dec  2 17:29:50 +0000 2006 -------
Not sure if this is a problem in Hudson or maven-jetty-plugin so filing here
first, for evaluation.

Run Jetty with the top-level CWD

$ mvn -f main/war/pom.xml jetty:run

and look at

http://localhost:8080/configure

Now run Jetty from the subproject CWD

cd main/war; mvn jetty:run

and check again. The "home directory" fields differ. This means if you have set
up a test project etc. that you want to use across runs, you need to make sure
you run Maven from the right CWD, which is not obvious and annoying. Worse, the
"work" subdir is created inside your current CWD, which could be anywhere (maybe
somewhere bad); it is only supposed to be in main/war, according to .cvsignore.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]