|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
How come the resources arn't copied when executing from NB?Hi,
Just wondering why the resources isn't copied to the classes folder prior to the execution of the project? Shouldn't those files added to the src/main/resources folder be reachable in the classpath when you execute a project/file? Isn't that the reason for putting something in that folder? Seems to me that either src/main/resources or target/classes should be in the default classpath used by the execution plugin? Cheers, Magne -- Magne Nordtveit <magne.nordtveit@...> Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: How come the resources arn't copied when executing from NB?that would be a bug..
the current default action mapping performs the "process-classes" phase, which should include copying the resources into target/classes. then the exec:exec goal is triggered and that one includes target/classes on classpath. If you have a testcase demonstrating the problem, please file it as such in the issue tracking.. Milos On 5/28/08, Magne Nordtveit <magne.nordtveit@...> wrote: > Hi, > > Just wondering why the resources isn't copied to the classes folder > prior to the execution of the project? > > Shouldn't those files added to the src/main/resources folder be > reachable in the classpath when you execute a project/file? Isn't that > the reason for putting something in that folder? > > Seems to me that either src/main/resources or target/classes should be > in the default classpath used by the execution plugin? > > Cheers, > Magne > -- > Magne Nordtveit <magne.nordtveit@...> > Systems Engineer > Offshore Simulator Centre AS > http://www.offsimcentre.no/ > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: How come the resources arn't copied when executing from NB?Cheers Milos, will do.
Magne On Wed, 2008-05-28 at 14:36 +0200, Milos Kleint wrote: > that would be a bug.. > > the current default action mapping performs the "process-classes" > phase, which should include copying the resources into target/classes. > then the exec:exec goal is triggered and that one includes > target/classes on classpath. > > > If you have a testcase demonstrating the problem, please file it as > such in the issue tracking.. > > > Milos > > > > > On 5/28/08, Magne Nordtveit <magne.nordtveit@...> wrote: > > Hi, > > > > Just wondering why the resources isn't copied to the classes folder > > prior to the execution of the project? > > > > Shouldn't those files added to the src/main/resources folder be > > reachable in the classpath when you execute a project/file? Isn't that > > the reason for putting something in that folder? > > > > Seems to me that either src/main/resources or target/classes should be > > in the default classpath used by the execution plugin? > > > > Cheers, > > Magne > > -- > > Magne Nordtveit <magne.nordtveit@...> > > Systems Engineer > > Offshore Simulator Centre AS > > http://www.offsimcentre.no/ > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > Magne Nordtveit <magne.nordtveit@...> Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |