the test are running.
But since the file is environement dependent, i don't want to have
this file staying in the repositry
So i decided to add a copy of this file in the test environement.
But i need to add this file to the classpath for the tests.
And for the moment i can't
Here is the issue.
Since
Since i'm using some profile for each environment, i could add some
task to the profiles.
You could probably hack something via profiles. But this is use of
profiles should not be encouraged IMO.
Instead you should create an artifact out of this folder's contents
and add a proper dependency
HI, fist thanks for your interest
I have a properties file that i want to keep in my environnement.
This is because this way the war file is environnement independant.
I put the property file in the tomcat/lib folder.
But when i'm running my tests, i also need the property file, to
define
. If all that you need to do is add the
properties file to the classpath of the surefire plugin for the test
phase, the example that I pasted in an earlier message ought to work,
even without using profiles. If your testing and test environments vary
by development environment then profiles
I have a properties file that i want to keep in my environnement.
This is because this way the war file is environnement independant.
I put the property file in the tomcat/lib folder.
But when i'm running my tests, i also need the property file, to
define things like db url ...
And i
Hi
My test-classes folder is not in the classpath - neither in eclipse, nor
when running the application with maven.
I created a new sample app, like this:
src/main/java/com/example/Main:
public static void main(final String[] args) {
System.out.println
/resources, not src/test/resources.
Cheers
2011/8/5 Michel Jung michel.jun...@gmail.com
Hi
My test-classes folder is not in the classpath - neither in eclipse, nor
when running the application with maven.
I created a new sample app, like this:
src/main/java/com/example/Main:
public static void
maven2 and maven3.
However, when we do mvn test, maven3 fails in some places where 2 doesn't.
Some logs can be found at: https://gist.github.com/5b639232043d96f876b3
After some debugging and realizing mvn dependency:tree is (for now) a bad
idea on maven3, I've found out that the classpath of the first
maven2 and maven3.
However, when we do mvn test, maven3 fails in some places where 2 doesn't.
Some logs can be found at: https://gist.github.com/5b639232043d96f876b3
After some debugging and realizing mvn dependency:tree is (for now) a bad
idea on maven3, I've found out that the classpath of the first
-doesn-t-include-all-source-paths-in-generated-classpath-file-in-a-Java-Groovy-pt-tp4535545p4583476.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
/Maven-Eclipse-Plugin-doesn-t-include-all-source-paths-in-generated-classpath-file-in-a-Java-Groovy-pt-tp4535545p4583476.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY jeffma...@jeffmaury.com wrote:
You probably need to configure your Eclipse project as a Groovy project
(through a nature I think).
Please not that you can configure the Maven Eclipse plugin to add specific
natures when eclipse:eclipse is run.
Groovy
On Thu, Jul 14, 2011 at 9:07 AM, Barrie Treloar baerr...@gmail.com wrote:
On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY jeffma...@jeffmaury.com wrote:
You probably need to configure your Eclipse project as a Groovy project
(through a nature I think).
Please not that you can configure the Maven
fails with missing class errors.
The above works fine when I build locally.
However, when I add a second use of the plugin in a different pom,
but in the same reactor, the classpath from the first instance is
used and the wsdd generation fails.
As a work-around, I have included both
On Thu, Jun 30, 2011 at 12:45 AM, Sebastian Goldt sd...@cam.ac.uk wrote:
Sebastian, its been five days and no feedback.
Have you worked out your problem?
Has any of this thread been useful?
It would be nice from an archive perspective if you could comment on
your resolution so others can avoid
the four folders src/main/java,
src/main/groovy, src/test/java and src/test/groovy which are added to the
project with the Build Helper Maven Plugin (1.6). When I generate the
eclipse project files using eclipse:eclipse, the generated .classpath file
only contains the src/main/groovy folder and not the src
On Thu, Jun 30, 2011 at 4:43 PM, Guillaume Polet
guillaume.po...@gmail.com wrote:
It's an M2Eclipse problem. I think you should rather user their ML.
[del]
mvn eclipse:eclipse
He's not using m2e.
I'm looking into it...
-
to the
project with the Build Helper Maven Plugin (1.6). When I generate the
eclipse project files using eclipse:eclipse, the generated .classpath file
only contains the src/main/groovy folder and not the src/test/groovy folder.
*Reproduction:*
The easiest way to reproduce the problem is by using a java
Plugin (1.6). When I generate the
eclipse project files using eclipse:eclipse, the generated .classpath file
only contains the src/main/groovy folder and not the src/test/groovy
folder.
*Reproduction:*
The easiest way to reproduce the problem is by using a java/groovy project
quickstarter from
Maven Plugin (1.6). When I generate the
eclipse project files using eclipse:eclipse, the generated .classpath file
only contains the src/main/groovy folder and not the src/test/groovy folder.
*Reproduction:*
The easiest way to reproduce the problem is by using a java/groovy project
quickstarter from
Benson Margulies wrote:
I find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest a model?
Not sure, which plugin I used to look this up, but I had once the need to
scan the compiled classes
I think the question is ambiguous:
Did he like to get the classpath of all dependencies of the current project to
invoke a java method which needs those classes on the classpath (annotation
scanning or enhancement, etc)?
Or does he like to contruct a classpath string which he can pass
the classpath of all dependencies of the current project
to invoke a java method which needs those classes on the classpath
(annotation scanning or enhancement, etc)?
Or does he like to contruct a classpath string which he can pass to a shell
invocation?
LieGrue,
strub
--- On Fri, 6/17/11, Jörg
I find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest a model?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
The maven-compiler-plugin should do exactly that.
On Wed, Jun 15, 2011 at 5:09 PM, Benson Margulies bimargul...@gmail.com wrote:
I find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest
bimargul...@gmail.com wrote:
From: Benson Margulies bimargul...@gmail.com
Subject: An example of a plugin that uses the dependencies/ as an actual
live classpath ...
To: Maven Users List users@maven.apache.org
Date: Wednesday, June 15, 2011, 3:09 PM
I find myself looking to create a
plugin where
should do exactly that.
On Wed, Jun 15, 2011 at 5:09 PM, Benson Margulies bimargul...@gmail.com
wrote:
I find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest a model
find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest a model?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
-plugin should do exactly that.
On Wed, Jun 15, 2011 at 5:09 PM, Benson Margulies bimargul...@gmail.com
wrote:
I find myself looking to create a plugin where, as part of execution,
it wants to create a classpath composed of the declared dependencies.
Can anyone suggest a model
-0400
Subject: Re: An example of a plugin that uses the dependencies/ as an
actual live classpath ...
From: bimargul...@gmail.com
To: users@maven.apache.org
Why? It just wants to construct a list of jars and pass them to the
compiler, not actually include them in a classloader. Not that's
/outputFilterFile
pathSeparator\u0020/pathSeparator
fileSeparator//fileSeparator
prefixlibs/prefix
outputFileclasspath.properties/outputFile
/configuration
/plugin
I get: libs/lib1.jar/u0020libs/lib2.jar
And this leads to wrong classpath tag inside Manifest file
.jar/u0020libs/lib2.jar
And this leads to wrong classpath tag inside Manifest file (/u0020 instead
of whitespace).
Is there a way so / file separator will not conflict with whitespace path
separator?
Thanks
--
View this message in context:
http://maven.40175.n5.nabble.com/Formatting
I tried pathSeparator/pathSeparator but this didn't change anything.
Looks like all \, being default Win file separators, are replaced with /
and this bug whitespace character definition.
--
View this message in context:
http://maven.40175.n5.nabble.com/Formatting-classpath-in-Manifest
character definition.
--
View this message in context:
http://maven.40175.n5.nabble.com/Formatting-classpath-in-Manifest-with-dependency-plugin-tp4418636p4418666.html
Sent from the Maven - Users mailing list archive at Nabble.com
Unfortunately, using only CDATA with whitespace doesn't work either - default
path separator ; will be used by the plugin
--
View this message in context:
http://maven.40175.n5.nabble.com/Formatting-classpath-in-Manifest-with-dependency-plugin-tp4418636p4418799.html
Sent from the Maven - Users
().info(Plugin CP = + sb.toString());
On Thu, Apr 28, 2011 at 9:57 PM, Ryan Connolly ryn...@gmail.com wrote:
Owen:
As far as getting a nice pre-crafted classpath element string from the
plugin's dependencies, I am not aware of an API call that will do that like
we can
)
{
sb.append(dep.getFile().toURI()).append(File.pathSeparator);
}
getLog().info(Plugin CP = + sb.toString());
On Thu, Apr 28, 2011 at 9:57 PM, Ryan Connolly ryn...@gmail.com wrote:
Owen:
As far as getting a nice pre-crafted classpath element string from the
plugin's
before running Apache DS and then to reset it back to
its real value after the server starts. However, in order to do this, I
need to build a classpath-like string containing the JARs Apache DS needs.
These JARs are already listed in the plugin's dependencies (and when the
plugin runs
for projects...
[DEBUG] Adding managed dependencies for top
[DEBUG] module1:jar:4.3.000.CE-SNAPSHOT
[DEBUG] module2:jar:4.3.000.CE-SNAPSHOT
...
[DEBUG] test classpath classpath:
[DEBUG] C:\workspace\top\module2\target\test-classes
[DEBUG] C:\workspace\top\module2\target\classes
[DEBUG]
C:\.m2
and then to reset it back to its
real value after the server starts. However, in order to do this, I need to
build a classpath-like string containing the JARs Apache DS needs.
These JARs are already listed in the plugin's dependencies (and when the plugin
runs, are available in the local repository
l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
From: owen.jacob...@grimoire.ca
Subject: Building a -classpath
Owen:
As far as getting a nice pre-crafted classpath element string from the
plugin's dependencies, I am not aware of an API call that will do that like
we can for MavenProject classpaths (project.getRuntimeClasspathElements(),
etc.). However, the plugin's dependencies are available
enough to use the target folder of module1 in its
classpath to execute those tests or does module2 always use what has been
installed in the local repository?
Thanks!
--
View this message in context:
http://maven.40175.n5.nabble.com/mvn-test-and-classpath-do-I-need-to-execute-install
So I'm wondering: do I need to actually use the install for modules to know
about changes to their dependencies? In other words, could I just do:
-Navigate to top
-Execute mvn clean test
and module2 would be smart enough to use the target folder of module1 in its
classpath to execute
So just so I understand completely:
if module2 depends on module1 and I execute mvn clean test at the top
shared parent, the classpath for module2 would look at
module1/target/classes vs m2-repo...module1.jar. Correct?
--
View this message in context:
http://maven.40175.n5.nabble.com/mvn-test
if module2 depends on module1 and I execute mvn clean test at the top
shared parent, the classpath for module2 would look at
module1/target/classes vs m2-repo...module1.jar. Correct?
Yes, and you can confirm this via mvn -X clean test which will show
the actual classpaths that are being used
,
org.apache.servicemix.common.osgi,
*;scope=compile|runtime;inline=false
target/dependency
true
true
Here if i use element ,then all the dependency jar files are going into the
classpath of the current bundle.
But again the the dependency bundle is recursively dependent on many other
bundles
,then all the dependency jar files are going into the
classpath of the current bundle.
But again the the dependency bundle is recursively dependent on many other
bundles or jar files,but these recursive dependent files are not coming into
the classpath of current bundle.
Please suggest me
if i use element ,then all the dependency jar files are going into the
classpath of the current bundle.
But again the the dependency bundle is recursively dependent on many other
bundles or jar files,but these recursive dependent files are not coming into
the classpath of current bundle
Have a look at your post again... you appear to be using nabble to
post to the mailing list and are not actually subscribed to the
mailing list directly. Nabble helpfully removes all the XML tags in
your post... rendering the cut and paste worse than useless. either
I finally got sufficiently
Hello,
I'm trying to update a properties file using classpath information from
a POM file.
For example my POM defines a dependency:
dependency
groupIdcommons-lang/groupId
artifactIdcommons-lang/artifactId
version2.4/version
/dependency
I would like to update the private.properties file
I would like to update the private.properties file (Netbeans) so that it
has:
maven.dependency.classpath=/home/bdelbass/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
I don't know this file, but you seem to suggest it is a
Netbeans-specific file? If so, there may be an
else.
Ron
On 09/03/2011 8:42 AM, Benoît DEL BASSO wrote:
Hello,
I'm trying to update a properties file using classpath information
from a POM file.
For example my POM defines a dependency:
dependency
groupIdcommons-lang/groupId
artifactIdcommons-lang/artifactId
version2.4/version
/dependency
I
that is different from everything else.
Ron
On 09/03/2011 8:42 AM, Benoît DEL BASSO wrote:
Hello,
I'm trying to update a properties file using classpath information
from a POM file.
For example my POM defines a dependency:
dependency
groupIdcommons-lang/groupId
artifactIdcommons-lang/artifactId
As discussed there [1], the main issue is that Netbeans can either recognize
the project as a Maven one or a JavaFX one but not both. In one case, you
lose the JavaFXScript syntax helper from Netbeans JavaFX module, and on the
other case you lose Maven dependency resolution.
Sounds like a
On 09/03/2011 11:52 AM, Wayne Fay wrote:
As discussed there [1], the main issue is that Netbeans can either recognize
the project as a Maven one or a JavaFX one but not both. In one case, you
lose the JavaFXScript syntax helper from Netbeans JavaFX module, and on the
other case you lose Maven
hi,
I'm executing an ant task inside my maven pom files for code
generation purposes. (the code-generation tool is wsdl2java). during
the process I fork new java process (within an ant task ) and pass the
classpath along with wsdl. I have given the classpath as
{maven.compile.classpath
This is well known issue, in the windows environment. right now i'm
working around this issue using a custom classpath as a system
property and accessing it, if i'm in windows environment. It is not a
nice solution.
You can read about how Surefire deals with this problem, especially
hi wayne,
On Tue, Feb 15, 2011 at 11:42 PM, Wayne Fay wayne...@gmail.com wrote:
This is well known issue, in the windows environment. right now i'm
working around this issue using a custom classpath as a system
property and accessing it, if i'm in windows environment. It is not a
nice
On Thu, Feb 10, 2011 at 5:55 AM, Wayne Fay wayne...@gmail.com wrote:
CL sent this to me privately, forwarding back to the list, I have
nothing to add...
-- Forwarded message --
Date: Tue, Feb 8, 2011 at 4:33 PM
Subject: RE: Eclipse Plugin - how to remove M2_REPO classpath
CL sent this to me privately, forwarding back to the list, I have
nothing to add...
-- Forwarded message --
Date: Tue, Feb 8, 2011 at 4:33 PM
Subject: RE: Eclipse Plugin - how to remove M2_REPO classpath variable (re-post)
but nothing is stopping you from doing it manually
Kai Hackemesser wrote:
In the project we try to build a runnable jar that depends on libraries that
are assembled into a lib folder. Under Maven 2(.2.1) we have no problem with
that, the runnable jar works as designed. The same project build under Maven
3.0.2 currently builds the project
There's already a bug reported
http://jira.codehaus.org/browse/MASSEMBLY-334 and there is ugly but
functional workaround: use maven-war-plugin's manifest mojo to
generate manifest file with classpath, and then configure archiver to
use generated manifest ( see this example
http://maven.apache.org
On 2011-02-07 00:27, Kai Hackemesser wrote:
Hi there,
We try to migrate to Maven 3.0 here but one assembly causes us headache.
In the project we try to build a runnable jar that depends on libraries that
are assembled into a lib folder. Under Maven 2(.2.1) we have no problem with
that,
Doesn't work for me with
https://repository.apache.org/content/groups/snapshots/org/apache/maven/plugins/maven-assembly-plugin/2.2.1-SNAPSHOT/maven-assembly-plugin-2.2.1-20110203.204308-1.jar
- classpath still nowhere to be seen. Checking out
maven-assembly-plugin trunk (r1068108), installing
On 2011-02-07 22:41, Stevo Slavić wrote:
Doesn't work for me with
https://repository.apache.org/content/groups/snapshots/org/apache/maven/plugins/maven-assembly-plugin/2.2.1-SNAPSHOT/maven-assembly-plugin-2.2.1-20110203.204308-1.jar
- classpath still nowhere to be seen. Checking out
maven
Re-post - Not seeing first post show up anywhere, sorry if this re-post
is spam.
Does anyone know a way to remove the M2_REPO classpath variable that was
added using
mvn -Declipse.workspace=pathtoworkspace eclipse:configure-workspace?
(I'm created another workspace and would like to clean
Re-post - Not seeing first post show up anywhere, sorry if this re-post
is spam.
Does anyone know a way to remove the M2_REPO classpath variable that was
added using
More than one person replied to your original post:
http://maven.40175.n5.nabble.com/Maven-Eclipse-Plugin-how-to-remove-M2
/plugins/maven-assembly-plugin/2.2.1-SNAPSHOT/maven-assembly-plugin-2.2.1-20110203.204308-1.jar
- classpath still nowhere to be seen. Checking out
maven-assembly-plugin trunk (r1068108), installing it, and making use
of it didn't help as well.
OK, thanks for testing.
Regards,
Stevo
Hi there,
We try to migrate to Maven 3.0 here but one assembly causes us headache.
In the project we try to build a runnable jar that depends on libraries that
are assembled into a lib folder. Under Maven 2(.2.1) we have no problem with
that, the runnable jar works as designed. The same project
Does anyone know a way to remove the M2_REPO classpath variable that was
added using
mvn -Declipse.workspace=pathtoworkspace eclipse:configure-workspace?
(I'm created another workspace and would like to clean up the first
workspace.)
I've tried running
mvn eclipse:clean before re-running
Does anyone know a way to remove the M2_REPO classpath variable that was
added using
mvn -Declipse.workspace=pathtoworkspace eclipse:configure-workspace?
I don't know how (or even if) you can do this with the Eclipse plugin,
but nothing is stopping you from doing it manually by editing
: Re: Maven Eclipse Plugin - how to remove M2_REPO classpath variable
Does anyone know a way to remove the M2_REPO classpath variable that was
added using
mvn -Declipse.workspace=pathtoworkspace eclipse:configure-workspace?
I don't know how (or even if) you can do this with the Eclipse
With further analyzing I found that in case of the error (ClassNotFound) the
corresponding JAR file is really missing in the compiler class path while
the test classes are compiled. On some build runs, the junit jar was not in
the compiler classpath, on some other build runs, the mockito jar file
Hi All, I'm working on a plugin, written in Groovy, where when it's invoked
I
want to load resources off the classpath of the project.
For example, when the plugin is configured like so:
configuration
requestrequest.xml/request
/configuration
From inside my plugin code, I want
John Prystash wrote:
From inside my plugin code, I want to be able to load the text of the resource,
contained in src/main/resources/request.xml (and presently in target/classes):
[...]
It appears to be that while the resource is on the classpath of the
project using the plugin, its
idea how I may isolate the problem?
b)
Very interesting, If I don't specify the 4.7 provider explicitly, this
problem has gone.
Thanks,
Frank
--
View this message in context:
http://maven.40175.n5.nabble.com/surefire-classpath-problems-with-maven-3-parallel-tp3346469p3354341.html
Sent from
ma., 24.01.2011 kl. 00.19 -0800, skrev fmeili:
Do you have any other idea how I may isolate the problem?
TestNG dependencies can also cause the same behaviour as I described in
my original mail (wrt junit3).
If that fails, there is no other way than to do as I said:
Surefire stores the
this message in context:
http://maven.40175.n5.nabble.com/surefire-classpath-problems-with-maven-3-parallel-tp3346469p3346469.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
Den 18.01.2011 18:03, skrev fmeili:
a)
The symptoms you are encountering seem to indicate that you're getting
testng or junit3 in somewhere on your
classpath. As to why this is happening, we'll have to try some detective
work:
The most significant difference between serial and parallel maven
I am trying to use dependency:build-classpath. If I run mvn
dependency:analyze all seems fine, but if I do mvn
dependency:build-classpath, it seems to ignore my configuration. For
example, the scope and outputFileFilter settings are ignored in the
second case. Am I doing something wrong
i don't think the classpath is filtered based on those values in this
goal, it just dumps the actual classpath that would match the desired
scope.
On Mon, Jan 17, 2011 at 10:52 AM, John Anderson dayt...@comcast.net wrote:
I am trying to use dependency:build-classpath. If I run mvn
The problem here is that Hibernate doesn't scan my EntityBeans/doesn't
find any annotations on them. This in turn means that my DB isn't
initialized and my tests can't run!
Isn't there anybody out there that has had this problem after the
classpath-change?
On 20.12.2010 14:49, Asmann
that is failing.
Now, I asked the developer and he told me he is on Maven 2.0.9... When I
run with that version, everything works as it should!
From the output generated by Maven, I can see that there is a
difference in the classpath for the tests. It appears that starting with
2.0.10
generated by Maven, I can see that there is a
difference in the classpath for the tests. It appears that starting with
2.0.10, the 'target/classes' and 'target/test-classes' are no longer the
first entries on the classpath, but the last.
This seems to be the problem I'm having, and tbh I have
I was using the default install of maven on the iMac and I forgot to copy the
settings.xml file I had on Linux.
I guess I'm a little bit curious now about the contents of your
settings.xml file... Must be a profile that does something with your
spring xml file?
Wayne
mistake..
Kind Regards,
Stephane
De : Wayne Fay [via Maven] ml-node+3301286-284534167-63...@n5.nabble.com
À : Stephane-3 mittiprove...@yahoo.se
Envoyé le : Sam 11 décembre 2010, 7h 12min 46s
Objet : Re: Re : A classpath issue ?
And, again on the iMac, if this time
Hi,
I have a maven build that is doing fine on my old linux box.
Trying now to run it in the new iMac environment, I get an issue with a
spring xml file not being found.
It feels like the classpath is not correctly set.
The pom.xml file is:
project xmlns=http://maven.apache.org/POM/4.0.0
-xr-x 3 stephane staff 102 10 déc 17:43 com
stephane:learnintouch$
The file has not been copied into the target directory.
Strange..
--
View this message in context:
http://maven.40175.n5.nabble.com/A-classpath-issue-tp3300543p3300609.html
Sent from the Maven - Users mailing list archive
: mac os x version: 10.6.5 arch: x86_64 Family: mac
--
View this message in context:
http://maven.40175.n5.nabble.com/A-classpath-issue-tp3300543p3300635.html
Sent from the Maven - Users mailing list archive at Nabble.com
iMac environment, I get an issue with a
spring xml file not being found.
It feels like the classpath is not correctly set.
The pom.xml file is:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http
an issue with a
spring xml file not being found.
It feels like the classpath is not correctly set.
The pom.xml file is:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http
[via Maven] ml-node+3301035-833614543-63...@n5.nabble.com
À : Stephane-3 mittiprove...@yahoo.se
Envoyé le : Ven 10 décembre 2010, 22h 55min 14s
Objet : Re: A classpath issue ?
Hmm, I now see that you say it works on Linux. Maybe the resources section
outside the profiles isn't being replaced
.
De : Anders Hammar [via Maven] ml-node+3301035-833614543-63...@n5.nabble.com
À : Stephane-3 mittiprove...@yahoo.se
Envoyé le : Ven 10 décembre 2010, 22h 55min 14s
Objet : Re: A classpath issue ?
Hmm, I now see that you say it works on Linux. Maybe the resources section
outside
décembre 2010, 22h 55min 14s
Objet : Re: A classpath issue ?
Hmm, I now see that you say it works on Linux. Maybe the resources section
outside the profiles isn't being replaced but added to? Check the effective
pom and you'll know for sure.
/Anders
On Fri, Dec 10, 2010 at 22:52, Anders Hammar
And, again on the iMac, if this time I don't specify the integration-test
profile on the command line
with the specified profile replacing the standard resources directory.
Stranges this is happening on this OSX maven..
Run mvn -X help:effective-pom and compare the versions of EVERYTHING.
' /
But when I launch my Ant build file, ant is looking for the file only in my
project and not in the Maven classpath.
Thanks
--
View this message in context:
http://maven.40175.n5.nabble.com/Accessing-to-the-maven-classpath-from-Ant-build-file-tp3297133p3297133.html
Sent from the Maven - Users
And I'm trying to reference the file I need (JPA.ecore) from the Ant file
like this :
property name=myModelUri value='/JPA.ecore' /
But when I launch my Ant build file, ant is looking for the file only in my
project and not in the Maven classpath.
Thanks
--
View this message
Thanks, I see but I don't want to launch my build file from maven.
Any other idea ?
--
View this message in context:
http://maven.40175.n5.nabble.com/Accessing-to-the-maven-classpath-from-Ant-build-file-tp3297133p3297329.html
Sent from the Maven - Users mailing list archive at Nabble.com
.n5.nabble.com/Accessing-to-the-maven-classpath-from-Ant-build-file-tp3297133p3297329.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
201 - 300 of 1706 matches
Mail list logo