multimodule classpath

2008-01-24 Thread John Coleman
Hi, Is it possible to get a classpath for a multimodule project that contains all the subproject target/class folders? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions

Re: multimodule classpath

2008-01-24 Thread Simon Kitching
John Coleman [EMAIL PROTECTED] schrieb: Hi, Is it possible to get a classpath for a multimodule project that contains all the subproject target/class folders? What would be the point of that? Each module has exactly the classpath it needs, dynamically computed by maven using

Manifest classpath entry

2008-01-23 Thread robcon
In our Maven POM we have a dependancy on a jar (Weblogic.jar) which has many Jars listed in the classpath Entry in its Manifest.MF file. When doing a Maven install maven appears to be trying to reference some of the jars in the classpath but is unable to find them because the weblogic.jar

Re: Manifest classpath entry

2008-01-23 Thread Wayne Fay
) which has many Jars listed in the classpath Entry in its Manifest.MF file. When doing a Maven install maven appears to be trying to reference some of the jars in the classpath but is unable to find them because the weblogic.jar is in the Maven repository folder and the jars referenced

Re: Manifest classpath entry

2008-01-23 Thread robcon
Wayne, You are correct in what you are saying and I need to re-word my question. The Jars I actually need for the build are referenced by the classpath structure within the weblogic.jar and so when I perform a build in eclipse it finds these jar using the classpath hierarchy

Re: Manifest classpath entry

2008-01-23 Thread Wayne Fay
As far as I am aware, no. You will need to install/deploy all of your Weblogic jars and use the Maven dependency method to build up your classpath. Wayne On 1/23/08, robcon [EMAIL PROTECTED] wrote: Wayne, You are correct in what you are saying and I need to re-word my question

Re: Resources from classpath in JAR

2008-01-15 Thread dddzzz
Heinrich Nirschl wrote: Put them into src/main/resources. I want them to be in same folder that classes are. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14844214.html Sent from the Maven - Users mailing list archive

Re: Resources from classpath in JAR

2008-01-15 Thread Heinrich Nirschl
On Jan 15, 2008 7:31 PM, dddzzz [EMAIL PROTECTED] wrote: Heinrich Nirschl wrote: Put them into src/main/resources. I want them to be in same folder that classes are. Which folder do you mean, the one with the .class files or with the .java files? The final jar will have the .class

Re: Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-14 Thread Steinar Bang
Huang [EMAIL PROTECTED]: Has anyone encountered this issue when using maven2 Eclipse plug-in? Basically, after I use it to generate .classpath and .project file for a project, Eclipse IDE has a trouble with processing .classpath and complains: cannot next blah_blah_blah.../resources

Re: Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-14 Thread Huang
we're using eclipse 3.3 version On Jan 14, 2008 10:53 AM, Steinar Bang [EMAIL PROTECTED] wrote: Huang [EMAIL PROTECTED]: Has anyone encountered this issue when using maven2 Eclipse plug-in? Basically, after I use it to generate .classpath and .project file for a project, Eclipse IDE has

Resources from classpath in JAR

2008-01-14 Thread dddzzz
How can I make maven2 to include files (like .xml and .property) in JAR without adding resource include in POM. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14814993.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Resources from classpath in JAR

2008-01-14 Thread Heinrich Nirschl
On Jan 14, 2008 10:24 PM, dddzzz [EMAIL PROTECTED] wrote: How can I make maven2 to include files (like .xml and .property) in JAR without adding resource include in POM. Put them into src/main/resources. - To unsubscribe,

Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-13 Thread Huang
Hello, Has anyone encountered this issue when using maven2 Eclipse plug-in? Basically, after I use it to generate .classpath and .project file for a project, Eclipse IDE has a trouble with processing .classpath and complains: cannot next blah_blah_blah.../resources inside an_artifact_directory

Classpath order of dependencies

2008-01-11 Thread Marco Huber
the crucial factor on how the classpath is build in maven? Or is it possible that transient dependencies overwrites direct dependencies? Thank you for your help Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Classpath order of dependencies

2008-01-11 Thread Jörg Schaible
... If I change the order of this two dependencies I get not error. Is the order in the pom the crucial factor on how the classpath is build in maven? Or is it possible that transient dependencies overwrites direct dependencies? [snip] My guess is that the pom for hibernate-validator

Re: Classpath order of dependencies

2008-01-11 Thread Simon Kitching
the order of this two dependencies I get not error. Is the order in the pom the crucial factor on how the classpath is build in maven? Or is it possible that transient dependencies overwrites direct dependencies? I believe that Maven calculates the order of libs in the classpath based upon

Maven2 build and package targets' classpath

2008-01-10 Thread Filipe David Manana
Hi, I want to add a JAR archive to the CLASSPATH for the targets build/package. I don't want to include that JAR archive in my final WAR file. I read the documentation, and for that purpose I added in my pom.xml the following to the build element: extensions extension

Re: Maven2 build and package targets' classpath

2008-01-10 Thread Simon Kitching
Filipe David Manana [EMAIL PROTECTED] schrieb: Hi, I want to add a JAR archive to the CLASSPATH for the targets build/package. I don't want to include that JAR archive in my final WAR file. I read the documentation, and for that purpose I added in my pom.xml the following to the build

Re: Maven2 build and package targets' classpath

2008-01-10 Thread Filipe David Manana
It works! :) Thank you. On 1/10/08, Simon Kitching [EMAIL PROTECTED] wrote: Filipe David Manana [EMAIL PROTECTED] schrieb: Hi, I want to add a JAR archive to the CLASSPATH for the targets build/package. I don't want to include that JAR archive in my final WAR file. I read

[Surefire2.3] Resources classpath problem

2008-01-10 Thread Olivier Catteau
Hello, We have a few problems with the classpath used by surefire. Some tests fail randomly due to the order of the classpath managed by Surefire. During the execution of unit tests, it seems that the classpath used by maven differs from the classpath used by my IDE (IntelliJ). In IntelliJ

Re: [Surefire2.3] Resources classpath problem

2008-01-10 Thread Cory Prowse
Yes this does appear to be a problem still in Maven 2.0.8 and I've raised what seems to be a similar issue here: http://jira.codehaus.org/browse/SUREFIRE-427 Although my issue is focusing on test-resources completely missing in the test-classpath. -- Cory Olivier Catteau wrote: Hello, We

Surefire-plugin 2.3.1 xml-apis classpath issue

2008-01-09 Thread Ivan Garcia
it installed in the jdk/jre. Using 3.2 plugin version XSD validation works fine Any idea if this must be reported as a bug? Thanks Ivan Garcia -- View this message in context: http://www.nabble.com/Surefire-plugin-2.3.1-xml-apis-classpath-issue-tp14707599s177p14707599.html Sent from the Maven

Re: Maven2 + Classpath

2007-12-22 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Here's my mistake: dependency groupIdorg.eclipse.osgi/groupId artifactIdorg.eclipse.osgi/artifactId version3.2.1-R32x_v20060919/version scopesystem/scope

Re: Maven2 + Classpath

2007-12-21 Thread Steinar Bang
Stuart McCulloch [EMAIL PROTECTED]: I did a quick test and using ${basedir} appeared to work for me I'm stuck with maven 2.0.4. Perhaps that's the cause of my problems? - note that the basedir is the directory with the pom, so if you unpack to target/someosgiapp then you need to use

Re: Maven2 + Classpath

2007-12-18 Thread Steinar Bang
Stuart McCulloch [EMAIL PROTECTED]: well, there are system scope dependencies that let you refer to library artifacts in a fixed location like /usr/share/lib/... but their use is discouraged, because it makes things less portable:

Re: Maven2 + Classpath

2007-12-18 Thread Steinar Bang
Stuart McCulloch [EMAIL PROTECTED]: FYI, you might be interested in: http://wiki.ops4j.org/confluence/x/A4A6Pax-Runner http://wiki.ops4j.org/confluence/x/8QPax-Construct which aim to make OSGi development and deployment a breeze with Maven Thanx for the tip! I'll check

Re: Maven2 + Classpath

2007-12-18 Thread Stuart McCulloch
On 18/12/2007, Steinar Bang [EMAIL PROTECTED] wrote: Stuart McCulloch [EMAIL PROTECTED]: well, there are system scope dependencies that let you refer to library artifacts in a fixed location like /usr/share/lib/... but their use is discouraged, because it makes things less portable:

1.0.2 -- 1.1 classpath problem

2007-12-17 Thread John.E.Gregg
Hi all, I'm trying to move from 1.0 to 1.1 but am having a classpath problem with my junit tests. In particular, I have a test that extends Spring's AbstractTransactionalDataSourceSpringContextTests. Hibernate is involved there also. In 1.0.2 LocalSessionFactoryBean's (spring-hibernate

Maven2 + Classpath

2007-12-17 Thread email11249845
Hi Is there any way tell maven2 to search libraries at Classpath first and then in maven repository? My admin say that most of library needed are installed at /usr/share/java and he wants to load libraries from this place first... Thanks -- View this message in context: http://www.nabble.com

Re: Maven2 + Classpath

2007-12-17 Thread Wayne Fay
maven2 to search libraries at Classpath first and then in maven repository? My admin say that most of library needed are installed at /usr/share/java and he wants to load libraries from this place first... Thanks -- View this message in context: http://www.nabble.com/Maven2-%2B-Classpath

Re: Custom classpath for maven-surefire-plugin?

2007-12-17 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: I would like to limit the classpath for a maven-surefire-plugin to something other than what comes from the dependencies. Is that possible? How does one do it? It's in Subversion, but I can't tell from here when it'll be in the plugin us mortals use

Re: Maven2 + Classpath

2007-12-17 Thread Steinar Bang
Wayne Fay [EMAIL PROTECTED]: That's just not the way Maven works. What libraries in particular do you need -- many should be available in the Maven repo already, so its simply a matter of writing the proper pom.xml dependency entries. That's not always sufficient. Eg. if you want to start

Re: Maven2 + Classpath

2007-12-17 Thread Stuart McCulloch
On 18/12/2007, Steinar Bang [EMAIL PROTECTED] wrote: Wayne Fay [EMAIL PROTECTED]: That's just not the way Maven works. What libraries in particular do you need -- many should be available in the Maven repo already, so its simply a matter of writing the proper pom.xml dependency entries.

Custom classpath for maven-surefire-plugin?

2007-12-16 Thread Steinar Bang
I would like to limit the classpath for a maven-surefire-plugin to something other than what comes from the dependencies. Is that possible? How does one do it? I would like the classpath to contain three things: - the target/classes/ directory - the target/test-classes/ directory - the JAR

How to access classpath from a test running in maven/surefire

2007-12-10 Thread Evan Worley
One of the classes that is used in a test explores the classpath to search for classes with a specific annotation. This test works fine in the IDE because when the junit runner runs the test, the java.class.path environment variable is set as expected and thus I can search this classpath. When

Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
So if I have a test dependency I include that is meant to override configuration files in a subproject I am building, should the test jar dependency override the compile time dependencies in the project being built? I was hoping this is how 2.0.8 would behave, but either it's not, or I have an

RE: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Blue . Thomas
It's supposed to: http://maven.apache.org/release-notes.html * MNG-3118 - Test-classes should come before classes in the classpath. This may slightly alter behavior of tests. The test-classes is now included first in the classpath to allow test resources to override normal runtime ones

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
But I mean, if I had a subproject that generates a jar file containing test resources and in include it in another project as a test scoped dependency, will those classes also be first in the classpath since they are an included test resource? On Nov 29, 2007 2:04 PM, [EMAIL PROTECTED] wrote

RE: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Blue . Thomas
Ah, I misunderstood. Try running 'mvn test -X', you'll be able to see the classpath and verify (look for [DEBUG] (f) classpathElements) -Original Message- From: Ryan Moquin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 2:49 PM To: Maven Users List Subject: Re: Does Maven

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
Oh really? Wish I would have seen that option sooner. Thanks! I'll go look. On Nov 29, 2007 2:58 PM, [EMAIL PROTECTED] wrote: Ah, I misunderstood. Try running 'mvn test -X', you'll be able to see the classpath and verify (look for [DEBUG] (f) classpathElements) -Original Message

Re: Adding a folder to the surefire classpath

2007-11-27 Thread Trent Rosenbaum
Hi Nathan, I had a similar issue when I wanted to run seam integration tests from within Maven. I needed to add the web.xml file onto the classpath. In the end I configured up the maven antrun plugin to copy my seam configuration files to the test-classes directory under target. I bound

Re: Adding a folder to the surefire classpath

2007-11-27 Thread Doug Douglass
a similar issue when I wanted to run seam integration tests from within Maven. I needed to add the web.xml file onto the classpath. In the end I configured up the maven antrun plugin to copy my seam configuration files to the test-classes directory under target. I bound this plugin to run on one

Mojo (rmic plugin) and classpath

2007-11-22 Thread Borut Bolčina
Hello, I want classes that are generated in [compiler:compile] phase to be available on classpath to a mojo which is executed just after. What would be the best way to do it? Regards, Borut

Re: antLib not producing same classpath as Mvn

2007-11-21 Thread Hervé BOUTEMY
reference the classpath produced by this pom in my ant script it still shows the 1.0 version on the classpath. It seems that the maven antLib is not taking the parent's dependency management section into account. I've heard that the maven antlib does not always function as maven should

war overlays and compiler classpath

2007-11-20 Thread Blue . Thomas
I've configured an app-war to depend on overlay-war, and app-war lists overlay-war as an overlay in the maven-war-plugin configuration. On top of that, the classes in app-war depend on the classes in overlay-war for compilation, but being a type 'war', they don't seem to end up in the classpath

antLib not producing same classpath as Mvn

2007-11-20 Thread Kallin Nagelberg
/artifactId version1.0.4/version /dependency /dependencies /dependencyManagement Now, when I run mvn dependency:resolve on my child pom it changes the resolved dependency from 1.0 to 1.0.4 as I desired. Hurrah! Unfortunately when I reference the classpath produced

classpath, tests, resources

2007-10-22 Thread Ondřej Černoš
-booter-2.4-jboss-1-SNAPSHOT.jar /home/me/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar However, when run from eclipse (the test fails the same way as when run from command line), the classpath looks different: /home/me/workspace.3.3/provisioning/src/main/resources/ /home/me/workspace.3.3

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
.jar /home/me/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4-jboss-1-SNAPSHOT/surefire-booter-2.4-jboss-1-SNAPSHOT.jar /home/me/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar However, when run from eclipse (the test fails the same way as when run from command line), the classpath looks

Re: classpath, tests, resources

2007-10-22 Thread Ondřej Černoš
Hi Adam, thanks for quick answer. The target/classes directory contains the production log4j.properties file. I always thought maven uses the target/test-classes directory as the classpath entry during the tests - it contains the correct version of the log4j.properties file, but it seems

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
/test-classes directory as the classpath entry during the tests - it contains the correct version of the log4j.properties file, but it seems the target/classes directory is on the test classpath too, and that it is even the first target directory mentioned on the classpath. I was probably wrong

access properties filter from jar dependency classpath

2007-10-05 Thread Philippe Le Marchand
/extensions ... filters filterfilter-${env}.properties/filter /filters ... but the filter entry doesn't work, I get : [INFO] Error loading property file '/path/to/project/folder/filter-myenv.properties' I've tried with ${classpath}/filter-${env}.properties, ${maven.compile.classpath

Re: [maven2 antrun plugin] problem with classpath

2007-10-04 Thread Guillaume Boucherie
/configuration /execution /executions /plugin -Tim [1] http://mojo.codehaus.org/xdoclet-maven-plugin/ Guillaume Boucherie schrieb: Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun

plugin classpath question

2007-10-04 Thread Guillaume Boucherie
Hi all, I have questions about he classpath of maven2 plugin: 1. How the classpath of a plugin is constructed ? 2. Is it possible to change it ? 3. Is it possible to have the generated classes of a project in the classpath of a plugin ? Thanks -- CletteBou clettebou.miniville.fr

Re: plugin classpath question

2007-10-04 Thread Gisbert Amm
I only know the answer for 2.: StringBuilder classpath = new StringBuilder(System.getProperty(java.class.path, )); classpath.append(What-ever-you-want); System.setProperty(java.class.path, classpath.toString()); -Gisbert Guillaume Boucherie wrote: Hi all, I have questions about he

adding with current classpath a resource?

2007-10-04 Thread Sonar, Nishant
Hello, I want to add a reference (folder) for the current classpath Ie .i wanna set something as Classpath=classpath;some/folder/ref Through sirefireplugin I am not getting what to write for existing 'classpath' I wrote as plugin groupIdorg.apache.maven.plugins

RE: The build classpath

2007-10-04 Thread Sonar, Nishant
Hi Yan Did you get any solution to this one, got any hold on the property? Please share. -Nishant -Original Message- From: Yan Huang [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 12:28 PM To: Maven Users List Subject: The build classpath Hello, Is there a maven property

Re: adding with current classpath a resource?

2007-10-04 Thread Jim Sellers
Can't you have the contents of this folder as part of the project (in src/test/resources) or jar'ed up and then just reference it with scope test? Jim On 10/4/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hello, I want to add a reference (folder) for the current classpath Ie .i wanna

Re: [maven2 antrun plugin] problem with classpath

2007-10-03 Thread Tim Kettler
/tasks /configuration /execution /executions /plugin -Tim [1] http://mojo.codehaus.org/xdoclet-maven-plugin/ Guillaume Boucherie schrieb: Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun like

[maven2 plugin development] classpath management

2007-10-02 Thread Guillaume Boucherie
Hi all, Is it possible to access and modify the classpath of a maven2 plugin at runtime ? In fact I'm trying to develop a plugin and I need to have the class files, generated in the compile phase, in the classpath for my plugin to work correctly. How can I do that ? Thanks in advance

[maven2 antrun plugin] problem with classpath

2007-10-02 Thread Guillaume Boucherie
Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun like this: project [...] build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution

The build classpath

2007-10-01 Thread Yan Huang
Hello, Is there a maven property which I can get the build classpath for a project? the ${java.class.path} doesn't provide that. Or, I have to write a mojo to get it through the call to MavenProject.get*ClasspathElements()? Thanks Yan

maven jdk1.6 classpath

2007-09-19 Thread priyasubu
Hi All I am using hte maven compiler plugin set to jdk1.6 in my pom.xml Now the thing is we want to use jaxws2.1 so we created a endorsed dir in the lb folder of jdk1.6 but when i try to do a maven compile I get an error since it does not get these jars in its classpath Any help would

Re: maven jdk1.6 classpath

2007-09-19 Thread Gisbert Amm
a maven compile I get an error since it does not get these jars in its classpath Any help would be appreciated Cheers Priya -- Gisbert Amm Softwareentwickler Infrastruktur WEB.DE GmbH Brauerstraße 48 · D-76135 Karlsruhe Tel. +49-721-91374-4224 · Fax +49-721-91374-2740 [EMAIL PROTECTED] · http

Re: maven jdk1.6 classpath

2007-09-19 Thread Michael McCallum
do some classpath magic to override the loading of the jaxb-api but you will get mixed results. I am not using jaxws2.1 but jaxb2.1 directly without problems... make sure that maven is using the runtime with the endorsed jars. On Wednesday 19 September 2007 20:33, Gisbert Amm wrote: I think

[M2] ckjm-mojo: extend classpath with the dependencies of the report project

2007-09-13 Thread Mirko Friedenhagen
* * @parameter default-value=${project.dependencyArtifacts} * @required * @readonly */ private java.util.SetArtifact dependencyArtifacts; /** * Extends classpath with dependencies. This is needed, as bcel otherwise * will raise ClassNotFoundExceptions. */ void

2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread bkbonner
if possible to include the generated-sources and generated-classes on the classpath so that mvn eclipse:eclipse includes them in an eclipse project? Thanks. Brian -- View this message in context: http://www.nabble.com/2-Classpath-Questions---how-to-included-generated-classes-in-classpath-so

Re: 2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread Sebastian Johnck
. Does anyone have suggestions as to how I can use the resulting classes from the xmlbeans plugin in my test cases. And also, how if possible to include the generated-sources and generated-classes on the classpath so that mvn eclipse:eclipse includes them in an eclipse project? Thanks. Brian

Re: 2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread Sebastian Johnck
, how if possible to include the generated-sources and generated-classes on the classpath so that mvn eclipse:eclipse includes them in an eclipse project? Thanks. Brian -- View this message in context: http://www.nabble.com/2-Classpath-Questions---how-to-included-generated

surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
WeakIdentityTable.class from the jar, and not from target/classes. Is there anyway to exclude a dependency from the test phase (make the dependency available ONLY for compile ?) OR Is there any way to place target/classes prior to dependecies in the test classpath ? Any suggestion is welcome. I've no other option than

Re: surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
the dependency available ONLY for compile ?) OR Is there any way to place target/classes prior to dependecies in the test classpath ? Any suggestion is welcome. I've no other option than switching to an ant script. Nico.

Can Classpath sequence be controlled in JAR:JAR manifest generation?

2007-08-20 Thread programr
the sequencing needed in part 1 above? Thanks, Matthew McCullough Ambient Ideas, LLC [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can-Classpath-sequence-be-controlled-in-JAR%3AJAR-manifest-generation--tf4300510s177.html#a12240876 Sent from the Maven - Users mailing list

Maven 2 Classpath

2007-08-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it possible to set the order of the JAR's added to the classpath of a Maven project? If yes, how is this is done? Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you

Re: Maven 2 Classpath

2007-08-20 Thread Wayne Fay
This is not an uncommon question. The answer is no. Wayne On 8/20/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Is it possible to set the order of the JAR's added to the classpath of a Maven project? If yes, how is this is done? Thank you. This message (including

Re: Can Classpath sequence be controlled in JAR:JAR manifest generation?

2007-08-20 Thread Wayne Fay
, Matthew McCullough Ambient Ideas, LLC [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can-Classpath-sequence-be-controlled-in-JAR%3AJAR-manifest-generation--tf4300510s177.html#a12240876 Sent from the Maven - Users mailing list archive at Nabble.com

manifest classpath

2007-08-16 Thread robert . egan
I've looked through the examples for this and it seems simple enough. However, I'd really like to have my classpath as a series of path elements for the sake of legibility and future maintnance, i.e. classpath entrypath1/entry entrypath2/entry entrypath3/entry /classpath

Re: manifest classpath

2007-08-16 Thread Wayne Fay
If you're asking about the MANIFEST.MF file itself, you are welcome to take this up with Sun and/or the JCP. Until then, the Jar specification requires that we continue to use the current formatting of the classpath: http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html Wayne On 8/16

Re: manifest classpath

2007-08-16 Thread robert . egan
classpath Are you asking about a Maven2 pom configuration entry, or the actual Class-Path line in your MANIFEST.MF file generated by Maven? If you're asking about Maven, please file a RFE in JIRA and someone will take a look at your issue. I'd suggest filing under MJAR: http

Re: embedded jetty in maven test phase classpath problem.

2007-08-15 Thread Wayne Fay
using ! methods? TIA John -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 14 August 2007 23:19 To: Maven Users List Subject: Re: embedded jetty in maven test phase classpath problem. I have been using the jspc plugin for some time now very successfully. I agree

Re: embedded jetty in maven test phase classpath problem.

2007-08-14 Thread Wayne Fay
I have been using the jspc plugin for some time now very successfully. I agree with Andy -- you should check it out. Wayne On 8/13/07, Andrew Williams [EMAIL PROTECTED] wrote: On 1 Aug 2006, at 17:14, Meghan Pike wrote: [snip] Does anybody know if this is the case and how I can fix it?

Re: embedded jetty in maven test phase classpath problem.

2007-08-13 Thread Andrew Williams
On 1 Aug 2006, at 17:14, Meghan Pike wrote: [snip] Does anybody know if this is the case and how I can fix it? I though maybe I could compile the jsp's to _jsp.java files in the pre-test phase, but I wasn't sure about how to go about this. You could try using the maven-jspc-plugin

Need to add .class files through classpath

2007-08-07 Thread Some user
Hi, I'm using applescript in my application that's being built using maven. I'm developing on a mac os x. To compile applescript code (I wrote a couple of proof-of-concept classes outside the project just to test things out), I had to run javac -classpath /System/Library/Java Test.java How/where

Re: Need to add .class files through classpath

2007-08-07 Thread Hervé BOUTEMY
-classpath /System/Library/Java Test.java How/where would I modify my pom files to handle this? Thanks! You'll have to declare a dependency on the library you're using to compile your classes: see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html The best would

eclipse-plugin generates weird classpath entries

2007-08-06 Thread Klaus Botschen
hi, i can't find the reason why i get such strange entries in the classpath file: classpathentry kind=var path=M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar/ classpathentry kind=var path=M2_REPOantlr/antlr/2.7.6/antlr-2.7.6.jar/ classpathentry kind=var path=M2_REPOaopalliance

Re: eclipse-plugin generates weird classpath entries

2007-08-06 Thread harald . meyer
Quoting Klaus Botschen [EMAIL PROTECTED]: i can't find the reason why i get such strange entries in the classpath file: classpathentry kind=var path=M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar/ classpathentry kind=var path=M2_REPOantlr/antlr/2.7.6/antlr-2.7.6.jar/ classpathentry

RE: eclipse-plugin generates weird classpath entries

2007-08-06 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Monday, August 06, 2007 9:15 AM: Quoting Klaus Botschen [EMAIL PROTECTED]: i can't find the reason why i get such strange entries in the classpath file: classpathentry kind=var path=M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar/ classpathentry kind

Re: eclipse-plugin generates weird classpath entries

2007-08-05 Thread noon
-plugin-generates-weird-classpath-entries-tf4214170s177.html#a12007519 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

eclipse-plugin generates weird classpath entries

2007-08-03 Thread Klaus Botschen
Hi, I can't find the reason why i get such strange entries in the classpath file: classpathentry kind=var path=M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar/ classpathentry kind=var path=M2_REPOantlr/antlr/2.7.6/antlr-2.7.6.jar/ classpathentry kind=var path=M2_REPOaopalliance

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ryan Nelson
that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath. I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code myself? I'm using the latest snapshot

Re: WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ian Springer
What manifest classpath are you referring to? The war plugin does not add a classpath to the manifest - it only adds dependencies to WEB-INF/lib. It's the jar plugin that will add classpaths to manifests. Then the ear plugin will copy any jars in the manifest classpaths of each of its modules

Problems with manifest classpath

2007-07-23 Thread Larry Suto
Hi, I am having a problem where a dependent jar(the jar is called nlsorm and is in the ipeservice jar) is being added to the manifest classpath of one ejb(the mdb in this case) and not the other...the ejb in this case: I am a bit puzzled as I have the ejb plugin configured the same way in both

Re: Maven and jetty classpath

2007-07-21 Thread mljv
Am Donnerstag, 19. Juli 2007 19:53 schrieb [EMAIL PROTECTED]: Hi, i have strange classLoader problem. I use maven, eclipse and jetty. i want to write a functional test with htmlunit, something like shown here http://today.java.net/pub/a/today/2007/04/12/embedded-integration-testing-o

Maven and jetty classpath

2007-07-19 Thread mljv
); it prints: class org.springframework.web.context.support.XmlWebApplicationContext and throws then a ClassCastException But XmlWebApplicationContext IS A WebApplicationContext, so it SHOULD be castable The problem is, that i have all my maven dependencies on the classpath (either running from

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-18 Thread Ryan Nelson
that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath. I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code myself? I'm using the latest snapshot

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-18 Thread Ryan Nelson
that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath. I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code myself? I'm using the latest

RE: Surefire includes artifacts with scope 'provided' in the runtime classpath, is this correct?

2007-07-17 Thread Stephen Connolly
frodesto wrote: Jörg Schaible wrote: Why is it a problem for you, that it is available in the classpath for the test? - Jörg Hi again. I see your point in that in many (most?) cases you actually would like the artifacts with scope 'provided' to be available

RE: Surefire includes artifacts with scope 'provided' in the runtime classpath, is this correct?

2007-07-17 Thread Stephen Connolly
unit tests I need a real JMS implementation, and I am using ActiveMQ. ActiveMQ also bundles the javax.jms package, and this is the one I need to use at test-time. I have included the ActiveMQ jar as scope=test dependency. When I run the unit tests, I get a classpath with two different versions

Add Maven ear properties file to war manifest classpath

2007-07-12 Thread Timothy Reilly
I am trying to add an additional classpath element to the manifest created by the war plugin. Is it possible to do this? I see how to add a manifest entry and I see how to specify the war classpath should be generated, but how to get this: Manifest-Version: 1.0 Class-Path

problem of mutiple resources with the same location and names at classpath during testing

2007-07-05 Thread ywtsang
will pick up the spring config file at main or test resources directory randomly. Can maven help to use the resources at test directory at a higher prioerity in classpath resource loading? I don't know if this actually relates to maven issue or what (or maybe this relates to project directory structure

Ant Mojo - Maven classpath

2007-07-04 Thread Jon SlinnHawkins
Hi All, Is it possible to pass / access the maven project classpath inside of an ant mojo build file. I see that you can with the antrun plugin, but can you do the same with self written ant mojo's ? I want to get at : ${maven.dependency.classpath} ${maven.compile.classpath

RE: Surefire includes artifacts with scope 'provided' in the runtime classpath, is this correct?

2007-07-03 Thread Jörg Schaible
Frode Stokke wrote on Tuesday, July 03, 2007 10:36 AM: Hi. Surefire seems to include dependency artifacts with scope provided in the classpath when running unit tests. Is this a bug? Shouldn't such artifacts only be included in the compile-time classpath? Yes. Provided means

<    3   4   5   6   7   8   9   10   11   12   >