Hi Toby.
Yes they are, but the problem is, that i use eclipse plugin to build
eclipse's property files, and there is .classpath file, where maven puts
dependecies from project.xml, everything has worked fine, but maven just
don't put junit-xxx.jar to .classpath..
Artsi
On Tue, 2004-03-16 at 09:3
Hi Artsi,
are your JUnit TestCases in your ${pom.build.unitTestSourceDirectory}
defined in project.xml?
Hope this helps
Toby
> -Original Message-
> From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 16, 2004 7:55 AM
> To: [EMAIL PROTECTED]
> Subject: eclipse plugin
>
Hi!
Does anybody knows why eclipse plugin doesn't add junit to classpath
file?
Artsi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have only come across this when I have only a MDB which doesn't generate
any interfaces.
If you have a sessionbean and it generates interfaces, it should create the
ejbdoclet directory automatically.
On Mon, Mar 15, 2004 at 08:30:34PM -, Marco Tedone wrote:
> I've defined your same properti
cvs co -r MAVEN-1_0-BRANCH
(HEAD shouldn't be broken, but does have some bugs)
Cheers,
Brett
> -Original Message-
> From: Alwyn Schoeman [mailto:[EMAIL PROTECTED]
> Sent: Monday, 15 March 2004 6:38 PM
> To: [EMAIL PROTECTED]
> Subject: Getting cvs maven without building from scratch?
>
--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> I've defined your same properties, defined ejbdoclet
> as pregoal and I'm
> obtaining the following error:
>
> srcdir
>
"D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet"
> does not exist!
>
> The ejbdoclet goal is looking for a
> src/target
You should be running maven from the jemos-xmlop-1.0 directory, not the src directory.
WM
--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> I've defined your same properties, defined ejbdoclet as pregoal and I'm
> obtaining the following error:
>
> srcdir
> "D:\Projects\jemos-xmlop-1.0\src\target\
See http://wiki.codehaus.org/maven/CreatingEjbApplications for a complete
sample.
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 15, 2004 2:34 PM
> To: Maven Users List
> Subject: Re: What does the XDoclet plugin expects?
>
> Could you send me a
Could you send me an example of how you embedded your ant
target with Maven?
I've got the following Ant script (the problem here is that I would need the
classpath that contains XDoclet):
I've defined your same properties, defined ejbdoclet as pregoal and I'm
obtaining the following error:
srcdir
"D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet" does not exist!
The ejbdoclet goal is looking for a src/target/xdoclet/ejbdoclet folder that
doesn't exists. Shall I create it?
I am using maven rc1
If I set the value of MAVEN_OPTS to something like this
SET MAVEN_OPTS="-Djava.ext.dirs=D:\AppClient\lib;D:
\AppClient\java\jre\lib\ext -Xmx160m"
Than I got the java plugin fails with the current error:
BUILD FAILED
File.. file:/D:/maven/plugins/maven-java-plugin-1.3
See http://wiki.codehaus.org/maven/CreatingEjbApplications for a decent use
case for maven and xdoclet. I would recommend avoiding the xdoclet maven
plugin and using good old ant scripts from maven.xml. As previously
mentioned, the xdoclet maven plugin is bloated and cryptic to work with.
Ryan
maven can often be considered an Ant wrapper, I've found it much easier
to embed "ant" script rather than "maven" script to deal with xdoclet.
xdoclet's plugin methods for assigning values is awkward and impenetrable.
Look in your repository for the expanded xdoclet plugins, look in the
plugin.pr
--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> Hi, I'm reading the documentation on the XDoclet
> website about the Maven
> plugin. However, I don't know what the
> "xdoclet:ejbdoclet" goal expects in
> the maven.xml file. I've got a folder /src under
> which java, webapp, etc.
> are stored. When I
Hi, I'm reading the documentation on the XDoclet website about the Maven
plugin. However, I don't know what the "xdoclet:ejbdoclet" goal expects in
the maven.xml file. I've got a folder /src under which java, webapp, etc.
are stored. When I point my cursor to /src and type "maven
xdoclet:ejbdoclet"
I know maven doesn't exactly support property inheritance just yet,
but I'm wondering whether the following problem will be solved even
when that day comes.
My project has two war subprojects, an ear subproject, and a common
jar subproject. Each war depends on the common jar and some external
jar
Sweet.
maven.jnlp.properties=com.foo.value
com.foo.value=bar
So the properties seems to work. Still hacking with the turning offness of
signed jars.
[email was initially sent after exhausting the online documentation, but
now i've a bee in my bonnet and am looking at the jelly code]
I can see:
${maven.jnlp.properties}
Though I don't know exactly what format that expects it in. I suspect
looking into more would help. Whatever that is.
On the signing jar issue. It seems to somehow think th
I want to get system properties into my jnlp file. Anyway to do that with
the plugin?
ie)
I also want to build without signing, at least until I discover that the
client actually needs said permissions. How do I turn signing off?
Thanks,
Hen
---
I'm trying to apply some filtering to my web.xml before building the
webapp, but it seems that the variables that the war plugin use are not
exported.
Is this possible?
When I add these lines to my maven.xml file:
maven war src preGoal: ${maven.war.src}
maven s
Ok now I have got Maven to include my XML and DTD files but it
includes the directory structure from my source directory included!
so it looks like this:
$project/bin/classes/com/.../.../.../ (my source)
$project/bin/classes/src/my.xml
$project/bin/classes/src/com/.../.../.../my.dtd
The xml
Try changing it to:
${basedir}/../../etc/project.xml
-Tim
[EMAIL PROTECTED] wrote:
Hi,
I built the latest CVS snapshot and it seems that the
../../etc/project.xml tag is not working right now.
I get an Error when I refer to a non-existent file, but there are no
goals/properties inherited from t
By definition multiprojects are made up of a group of subprojects.
You *should* be able to go into each subproject and run a maven build
from there as well.
The only caveat of this that I know of is that it will pick up
everything from the parent's project.xml and maven.xml (assuming you are
usi
On Mon, 2004-03-15 at 08:54, [EMAIL PROTECTED] wrote:
> I have a Test class that requires to load a XML file.
> I do it like this:
> Thread.currentThread().getContextClassLoader
> ().getResource(Constants.XML_CONFIG_FILENAME_DEFAULT)
> Issue is that my Maven project does not include my xml/dtd file
Hi again
Euh, I see... Get the maven-plugins from the apache CVS tree.
Either you get the whole project from CVS or, just get the project.xml
file that is at the root of the plugins project. This way, you should be
able to update it.
Or, you could just make your tests in a custom plugin (copy the
Hi All,
I have a Test class that requires to load a XML file.
I do it like this:
Thread.currentThread().getContextClassLoader
().getResource(Constants.XML_CONFIG_FILENAME_DEFAULT)
Issue is that my Maven project does not include my xml/dtd files, so
the test fails to load the xml resource.
My
Copy the new plugin jar (remove the old one) in your $MAVEN_HOME/plugin
dir. Remove the ~/.maven/plugin content. Add restart maven.
Nicolas,
[EMAIL PROTECTED]
15/03/2004 07:56
Veuillez répondre à "Maven Users List"
Pour : [EMAIL PROTECTED]
cc :
Objet : Newbie que
Hi,
I built the latest CVS snapshot and it seems that the
../../etc/project.xml tag is not working right now.
I get an Error when I refer to a non-existent file, but there are no
goals/properties inherited from the ../../etc/maven.xml!
Any hints?
/peter
-
Hi,
sorry i have still problems to generate the cvs stats report and was trying to find a
solution the whole
weekend.
As Marcin suggested i add a fake url as web repository to my pom.
How ever i get still the same error.
I'm confused since there is a statcvs 1.0 statcvs 2.0 and a statcvs-xml plu
hi there ..
we are developing an application using the multiproject plugin ...
i would be interested in your ways to speed up the build process ...
1. is it possible to execute only parts of a multiproject
2. how do i tell maven not to compile all sources over and over again ???
--
Thorsten Maus
Hi,
I built the latest CVS snapshot and it seems that the
../../etc/project.xml tag is not working right now.
I get an Error when I refer to a non-existent file, but there are no
goals/properties inherited from the ../../etc/maven.xml!
Any hints?
/peter
--
Hi,
Is somebody using the latex plugin on win32 around here ? I got the
MPLATEX-2 bug, and i'd like to know if there's already a workaround for
it.
Sebastien Brunot
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Data
32 matches
Mail list logo