On 6 Nov 2003, at 00:43, matt wrote:
You could also use ${empty(outputDir)}, or ${outputDir == null}, which
are both identical in meaning to ${empty outputDir}.
Not quite, empty(outputDir) is also true if outputDir == ""
Jelly uses the Jexl Expression Language, which is a superset of JSTL
(Jav
You can, but there seems to be some bugs when called from plugins as in this
case.
Incidentally, I've just had exactly this error, using the
maven-cactus-plugin-3.1 distributed with RC1. I had to add junit to my
project with the root classloader, although at this point I'm not sure why
as the cact
Hi Daniel,
I don't think you're allowed to override existing goals in Maven. You
can write pregoals and postgoals though.
-Vincent
> -Original Message-
> From: Daniel Rabe [mailto:[EMAIL PROTECTED]
> Sent: 06 November 2003 01:55
> To: '[EMAIL PROTECTED]'
> Subject: cactus plugin and over
On Wed, 2003-11-05 at 23:52, Horn, Cameron wrote:
> As previously stated, the error was an "OutOfMemory" error that was resolved as
> suggested in the build directions, by setting MAVEN_OPTS. I don't blame maven for
> the error (well, if it needs it often, perhaps it should be the default), but
As previously stated, the error was an "OutOfMemory" error that was resolved as
suggested in the build directions, by setting MAVEN_OPTS. I don't blame maven for the
error (well, if it needs it often, perhaps it should be the default), but I do blame
maven for not handling it correctly. Unless
> You have been extremely helpful, which has been the most
> promising thing so far. Thank you. On the other hand, it
> does seem like maven still needs a heck of a lot of work.
Clear information plus thanks should always result in good help :)
Remember you are trying to do something (buildin
You have been extremely helpful, which has been the most promising thing so far.
Thank you. On the other hand, it does seem like maven still needs a heck of a lot of
work.
It also seems like maven has a very singular way of working that doesn't really suit
the way I want to work. Is there in
> Tried again, got the right ant-optional. Current maven
> wouldn't build (test failure, I think), but that's ok.
Yeah, I noticed that. Changelog plugin doesn't build "offline" or behind a
firewall.
I'll put it in JIRA.
> So, questions:
> 1) Why the corrupt dependency? How do I prevent this
Tried again, got the right ant-optional. Current maven wouldn't build (test failure,
I think), but that's ok. Got MAVEN_1_0_B10, the build ended with a "BUILD
SUCCESSFUL." Careful persual of the log revealed that there was an OutOfMemory error
resulting in a "BUILD FAILURE" earlier in the bui
You probably need to add a junit dependency to your project. You might need
to put it in the root classloader (google the maven website).
Anyway, you can integrate your ant script into maven.xml really easily. I'd
recommend trying that. Actually, I'd recommend the test plugin above all of
these, a
I have an existing ant task set up to run junit. If I invoke it from the
command line with "ant test", it works fine. I want to integrate this into
maven, so I added the following to maven.xml:
When I run "maven zzz" it fails (error messages below). Why would it not run
from within maven w
Do you currently run maven to build a site, or is this just theoretical at
this point?
If so, the directory you run it from should have a project.xml.
If no, you'll need to get that working first. You can find all you need to
know on project.xml in the user guide at http://maven.apache.org
> ---
I am not clear on which project.xml your talking about..Please explain
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:21 PM
To: 'Maven Users List'
Subject: RE: Maven and Cruise Control Intergration
By default, it will create a new con
By default, it will create a new config.xml in the same directory as the
project.xml you run it from, so keep a backup :)
The project.xml I am referring to is the one you use to build your site.
- Brett
> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday,
Which project.xml are you referring to? When say
Try running "maven cruisecontrol", and will it override my exisiting
confiq.xml file in crusie control?
Saleem
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:17 PM
To: 'Maven Users Lis
Try running "maven cruisecontrol" on your project.xml. That should give you
a decent config.xml that you can use as a base.
You'll find info on the tag in the cruise control documentation.
I've only tried it with the most recent version of cruise control.
- Brett
> -Original Message-
>
Thanks for Brett Porte,
My Manager wants me to this way since, we build all the functionality
via cruise control. Can you please elaborated on this more, and maybe
give an example of this idea below:
add into the cruise control
configuration.
Thanks in Advance for you help,
Saleem
-Ori
I'm not sure what you mean, but really it sounds like you just need to add
into the cruise control configuration.
I prefer to use maven to build my entire project and just call that from
cruise control though.
- Brett
> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Hi All,
Has any one done Maven and Cruise Control Intergration?
Currently my Crusie Control does the CVS checkout build, test,junitdoc
javadocs, cvs tag version via bootstrap.xml file.
All I want to do is use Maven to publish my javadoc, junitdoc, and other
type of documentation created by my
I'm still a maven novice, so maybe someone can clue me in. I'm seeing some
very strange behavior that I just don't understand.
I've been playing with the cactus plugin. I've succeeded in building a war,
cactifying it, and running the cactus tests. Awesome! BUT then I decided I'd
rather let ant bui
Low priority, understood. I just like things that adhere to standards.
Every page on the maven website extends horizontally past 800x600 on Windows, using
Opera or IE, *not* just the pages with code samples. I think it required even more
space on Safari, but I'm not sure. I know at the end I
You could also use ${empty(outputDir)}, or ${outputDir == null}, which
are both identical in meaning to ${empty outputDir}.
Jelly uses the Jexl Expression Language, which is a superset of JSTL
(Java Standard Tag Library). To quote from JSTL in Action,
"The empty operator determines whether a c
Reading the FAQ and other maven documentation helps:
http://maven.apache.org/faq.html#build-firewall
Would lead you to:
http://maven.apache.org/reference/user-guide.html#Using%20Proxies
- Brett
> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 Novem
I am behind proxy, I can access this site via my browser.My brower has
proxy setup. But I don't know how to let maven know about it.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 6:23 PM
To: 'Maven Users List'
Subject: RE: Installing Ma
Those aren't all errors. Maven.log gives extra information.
>From what I can see, it failed to download some dependencies. Are you beinh
d a proxy? Can you access www.ibiblio.org/maven regularly?
- Brett
> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursda
Hi
I actuall followed the following directions for turbine:
--
$Id: README.txt,v 1.9 2003/05/02 14:50:00 quintonm Exp $
Turbine Top Level README
---
AHA! The file "ant-optional-1.5.3-1.jar" is corrupt, every single time I download it.
Why didn't I check this before...
Cleared out my "~/.maven" again just to be sure. Still corrupt.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:
Hi
I download Maven from http://maven.apache.org/start/download.html
and version I got is maven-1.0-rc1.zip, So I unzip the file to directory:
C:\MavenPlayground\maven-1.0-rc1\maven-1.0-rc1, where in this directory I have
following directories:
-bin
-lib
-plugins
-repository
maven-projec.xsd
I
Yes. This will evaluate true is the jelly value outputDir is "empty". I
think that means null or "", but am not certain.
You might also see it written as ${empty(outputDir)}
- Brett
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 November 2003 11:
Hi Guys,
I have this line in one of the jelly script in a maven plugin. I don't know
jelly but have checked out its major tags. Could you pls help me understand
this:
I undertand j:if test
But in ${empty outputDir}" does empty refers to some inbuilt function of
checking the outputDir or what
Sounds weird. I have WinXP, JDK 1.4.2, Ant 1.5.3-1, no CLASSPATH, no
problems :)
Any other environment settings that might be influencing? PATH, MAVEN_HOME,
ANT_HOME, JAVA_HOME. Your ant installation was unmodified?
I do run it on cygwin, maybe that's a difference...
> -Original Message-
Vikas Phonsa wrote:
Hi everybody,
I'm using eclipse based wsad IDE and after a discussion in this list was
trying to use genapp and the eclipse plugins to start my projects. But I'm
having some issues. Here's what's going on:
1. If uI se genapp out side the IDE to generate a project folder and the
Much more information needed. The installation doco is designed to help get
started. What did you try, and wht didn't work?
> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 November 2003 11:00 AM
> To: Maven Users List
> Subject: RE: Building Maven
>
Hi All,
I am new to Maven, I tired to follow online doc to install it, it didn't
work. Can some help me get started.
Thanks,
Saleem
-Original Message-
From: Horn, Cameron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 5:59 PM
To: Maven Users List
Subject: RE: Building Mave
Well, I figured out why ant wasn't picking up junit; it apparently needs to be in
"lib/optional", not "lib" as specified by ant's manual.
However, no dice with ant-1.5.3-1. I get the same error. I'm on WinXP, using Sun's
JDK 1.4.1_02. I do not have a CLASSPATH set.
-Original Message-
-Original Message-
From: Vikas Phonsa
Sent: Wednesday, November 05, 2003 1:24 PM
To: 'O'Fallon, Paul (MAN-Corporate)'
Subject: RE: Maven commandline arguments
Paul,
Here is the complete post
Hi everybody,
I'
> I was actually referring to the entirety of the website, not
> just the
> front page. For instance:
> http://validator.w3.org/
> check?uri=http%3A%2F%2Fmaven.apache.org%2Freference%2Fuser-guide.html
Well, obviously I didn't have the time to check every page. The problems on
here are also tr
This is just a wild guess, but it might be a conflict between ant-1.5.4
being run, and Maven trying to use ant-1.5.3-1 (+optional). I can't think of
anything more at this point.
Incidentally, I've never had a problem bootstrapping with ant-1.5.3-1
without modifying the ant installation/classpath a
Environment: winxp, maven-1.0-rc1, multiproject setup
I'm building my multiproject site for my project, and it's failing on my ejb
module during the tasklist plugin. I have several other projects that work
fine with this same setup, so I can't see why this one is failing. Here's
there error mess
Yeah Paul,
Thanks for this list
Nice to hear from you again.
I'm having issues with starting projects with eclipse. I would appreciate if
you could take a look at my previous post titled "eclipse plugin"
Thanks
Vikas
-Original Message-
From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMA
Do you mean this list?
>maven --help
usage: maven [options] [goal [goal2 [goal3] ...]]
Options:
-D,--define arg Define a system property
-E,--emacsProduce logging information without adornments
-X,--debugProduce execution debug output
-b,--nobanner Suppress logo banner
Hi,
Can somebody point me to the list of command line argument that can be
supplied to maven. I'm unable to find that on the website.
I was trying to use the eclipse plug in and the documentation about that
doesn't mention if I can use any specific commandline argument with that.
Thanks
Vikas
Hi Peter,
See http://jakarta.apache.org/cactus/integration/maven/properties.html
for the list of all properties available.
There was also a bug WRT the includes/excludes properties that I have
fixed recently. See
http://jakarta.apache.org/cactus/integration/maven/changes-report.html
Thanks
-Vinc
Yeah sri,
I followed the instruction and its working fine.
Thanks
vikas
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 10:51 AM
To: Maven Users List
Subject: RE: Genapp goal
I don't have the updated jelly file anymore. You should be
I don't have the updated jelly file anymore. You should be able to apply exactly the
changes I have suggested.
Updating Maven-provided plugins is a slippery slope -- for obvious reasons. We lean
more towards writing our own plug-ins for customizations -- calling available plug-ins
to do the b
Using: Maven 1.0 rc1
How can I display a bulleted list in my navigation menu?
* Due to the style sheet settings, using elements doesn't look
presentable. And, no I don't want to create my own style-sheet
* I cannot use • 'cause it gets treated as an XML entity reference
* Using the character
Hello.
I have an abstract test case to test an abstract class (similar to
http://c2.com/cgi/wiki?AbstractTestCases). The abstract test case extends
ServletTestCase, as the tests are in-container tests using Cactus.
Currently when running the maven goal maven attempts to run instantiate the
(abst
Pat,
just add the tlds to the dependencies list ('tld' type) and they should
be copied in the produced artifact in ${maven.war.tld.dir}
http://maven.apache.org/reference/plugins/war/properties.html#tld_dir
-- gd
Bateman Pat UK MYT wrote:
How do I make a WEB Application project dependent on TL
Hi everybody,
I'm using eclipse based wsad IDE and after a discussion in this list was
trying to use genapp and the eclipse plugins to start my projects. But I'm
having some issues. Here's what's going on:
1. If uI se genapp out side the IDE to generate a project folder and then
use eclipse goal
Sri,
Thanks for your reply. Is it possible for you to send me the modified files.
Thanks
Vikas
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 5:39 PM
To: Maven Users List
Subject: RE: Genapp goal
> -Original Message-
> From:
I'm building with ant1.5.4, with optional.jar containing the junit taskdefs, including
FormatterElement$TypeAttribute. (Had to add junit.jar to the CLASSPATH when building
ant, rather than just sticking it in ant\lib as the documentation claimed).
The clean-maven-home task fails as follows. Thi
I'm trying to call maven and set the working directory using -d which is in a
different location but maven does not look in the specified directory.
Has anyone tried to do this ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Done, thanks for your help.
Nick
> -Original Message-
> From: Eric Pugh [mailto:[EMAIL PROTECTED]
> Sent: 05 November 2003 15:38
> To: 'Maven Users List'
> Subject: RE: CVS executable invocation error
>
>
> I would take the "simplest path". Since you found the bug
> while working
>
Hello,
Eric Berenguier wrote:
Does current maven version supports project.properties inheritance
when using tag ?
I've read about the trick using in maven.xml
(see http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-37)
I'd like to have the following property in my project.property :
ma
> HTML validator only gives one error:
>
http://validator.w3.org/
check?uri=http%3A%2F%2Fmaven.apache.org&charset=%28d
> etect+automatically%29&doctype=XHTML+1.0+Transitional
I was actually referring to the entirety of the website, not just the
front page. For instance:
http://validator.w3.o
I would take the "simplest path". Since you found the bug while working
with the changelog plugin, it is likely that others who have this problem
will also be stumbling across it in the changelog plugin.
So, just to get you started, what you want to do is checkout the changelog
plugin from CVS.
In the Maven project directory structure, where do you store your TLD
files?
Pat
-Original Message-
From: Janne Kario [mailto:[EMAIL PROTECTED]
Sent: 01 November 2003 13:15
To: [EMAIL PROTECTED]
Subject: Taglibs project
Hi,
I'm about to start a taglib-project which produces 2 artifact
How do I make a WEB Application project dependent on TLDs within the
Struts Maven repository.
Thanks
Pat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Good idea, however, I have no idea how I would go about that... Do I put
a bug in on the JIRA bug tracker, then add a patch? Bit of a newbie
question I know, but everyone has a first time. If it is the JIRA page
that I should use, which category does the SCM plugin come under, since
I can't find a
Would you like to submit a faq patch? Just look at the faq plugin and add
a xdocs\faq.fml!
Eric
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2003 2:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: CVS executable invocation error
>
* Peter Donald <[EMAIL PROTECTED]> [2003-11-03 22:14]:
> On Tue, 4 Nov 2003 08:59 am, Alain Javier Guarnieri del Gesu wrote:
> > What do you feel is the best place to create temporary files and
> > directories for a unit test?
> >
> > Should I use a directory under target?
> >
> > Should I create
In case anyone cares, I've found a solution to this problem. The issue
is that the path to the CVS executable contained spaces, which confused
some piece of code. Moving the exectuable to a path without spaces
sorted it completely. The perils of using a windows platform I guess...
Nick
> -Or
I have maven.xml which calls Ant task. The problem is,
that I cannot see messages written by Ant on "standard
error output stream". The Maven's -X switch does not
help here.
Is there a way to tell Maven to log messages written
by Ant on "standard error output stream"? They are
often very critical
63 matches
Mail list logo