as the project is not a Java classpath-capable
package
Thanks
Ryan
The exec-maven-plugin should interest you:
http://mojo.codehaus.org/exec-maven-plugin/usage.html
Wayne
On 1/29/08, Rex Huang <[EMAIL PROTECTED]> wrote:
> I just give mainclass and parameters information,
> then maven runs the mainclass and use dependence artifact information as
I just give mainclass and parameters information,
then maven runs the mainclass and use dependence artifact information as
classpath.
Can this work?
BR//Rex
I have a multiple module project. Most of the modules package as a jar. I am
trying to run a class using the exec plugin. Here is the command I use (note
it is configured using netbens6)
Executing:C:\Apps\apache-maven-2.0.8\bin\mvn.bat -Dexec.args=full -classpath
-Dexec.mainClass
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 b
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
As far as I am aware, no. You will need to install/deploy all of your Weblogic
jars and use the Maven 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 qu
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.
Is there
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 is in the Maven repo
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 is
dddzzz <[EMAIL PROTECTED]> schrieb:
>
>
>
> Heinrich Nirschl wrote:
> >
> >
> > Put them into src/main/resources.
> >
> >
>
> I want them to be in same folder that classes are.
That's a reasonable way to structure your code I think. I always used to put
resources together with the co
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 wil
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
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,
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
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 gener
>>>>> 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
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&qu
beta2
>>
>> ...
>>
>>
>> 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
>>
an NoClassDefFoundError:
>
> ...
>
> org.hibernate
> hibernate-validator
> 3.0.0.ga
>
>
>
> org.jboss.embedded
> hibernate-all
> beta2
>
> ...
>
>
> If I change the order of this two dependencies I get not
org.jboss.embedded
hibernate-all
beta2
...
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?
Thank
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:
&g
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
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 wan
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 m
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 element:
o
ve 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
> Steinar Bang <[EMAIL PROTECTED]>:
Here's my mistake:
>
>org.eclipse.osgi
>org.eclipse.osgi
>3.2.1-R32x_v20060919
>system
>
> ${basedir}/target/dependencies/someosgiapp/org.eclipse.osgi_3.2.1_R32x_v20060919.jar
>
The value of is wrong. It should be:
${basedi
> "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
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 thing
> "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!
> "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:
> http://maven.apache.org/guides/introduction/in
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
> "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 entries.
That's not always sufficient.
Eg. if you want to start
>>>>> Steinar Bang <[EMAIL PROTECTED]>:
> I would like to limit the classpath for a maven-surefire-plugin to
> something other than what comes from the .
> Is that possible? How does one do it?
It's in Subversion, but I can't tell from here wh
ere 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
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
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
(s
I would like to limit the classpath for a maven-surefire-plugin to
something other than what comes from the .
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 file
target
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
classp
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)
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 Use
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]>
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
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 err
.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 of the test lifecycle phases. I was
> then able to run the tests as shown within the
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 this
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
ging
> commons-logging
> 1.0.4
>
>
>
>
> 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 pr
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 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
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
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 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 prob
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 the
lang-2.1.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
.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/provisionin
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}/filter-${env}.properties, without
success...
Does anybody have an idea
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) fo
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
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
org.apache.maven.plugins
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 w
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
>
>
>
> -Tim
>
> [1] http://mojo.codehaus.org/xdoclet-maven-plugin/
>
> Guillaume Boucherie schrieb:
> > Hi all,
> >
> > I'm trying to
-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 this:
[...]
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:
[...]
maven-antrun-plugin
process
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 ad
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
could use 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:
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
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 be
*
* @parameter default-value="${project.dependencyArtifacts}"
* @required
* @readonly
*/
private java.util.Set dependencyArtifacts;
/**
* Extends classpath with dependencies. This is needed, as bcel otherwise
* will raise ClassNotFoundExceptions.
*
cases in the project to verify that
> > the
> > sample xml files in fact are validated and parsed properly.
> >
> > Unfortunately, mvn is failing to compile the test cases since it can't
> > find
> > the generated classes from the xmlbeans plugin.
>
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
> --
> View this message in context:
> http
ow 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-classpa
r to get 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 switching to an ant
> script.
>
> Nico.
>
get the unexpected behaviour to get 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 suggesti
ntrol that so that I can set 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-gener
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.
&
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 ar
o that I can set 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
The former, and thanks for the link. I'll bring the issue there (if it
hasn't been raised already).
Robert Egan
"Wayne Fay" <[EMAIL PROTECTED]>
16-Aug-2007 11:27 AM
Please respond to
"Maven Users List"
To
"Maven Users List"
cc
Subject
Re:
rowse/MJAR
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
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.
path1
path2
path3
instead of
path1 path2 path
Is there a solution to this, or
> do you just avoid using
> 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.
>
phase classpath problem.
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]
> >
> >
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
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 (http
out), I
> had to run javac -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/intr
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.
[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:
>>
>> > path="M2_REPOant/ant-optional/1.5.1/ant-op
Quoting Klaus Botschen <[EMAIL PROTECTED]>:
i can't find the reason why i get such strange entries in the classpath file:
path="M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar"/>
path="M2_REPOaopalliance/aopalliance/1.0/aopalliance-1.0.jar"/>
hi,
i can't find the reason why i get such strange entries in the classpath file:
> mvn --version
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: "linux" version: "2.6.18.8-0.5-bigsmp" arch: "i386"
> echo $M2_REPO
/home/klaus/ws/m2r
-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]
Hi,
I can't find the reason why i get such strange entries in the classpath file:
> mvn --version
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: "linux" version: "2.6.18.8-0.5-bigsmp" arch: "i386"
> echo $M2_REPO
/home/klaus/ws/m2r
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
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 mo
e says:
"Note 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
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
sc.getAttribute(key);
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 classp
fest guide says:
"Note 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
e says:
"Note 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
701 - 800 of 1789 matches
Mail list logo