this works
goal name=test-lt
j:set var=var value=dontcare /
j:if test=${ var.length() lt 8 }
ant:echo lt works /ant:echo
/j:if
/goal
my guest here lt and gt are not working at string level
-D
On 6/21/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
echo the class of
Hi ,
I have abled to build the hello-world plugin successfully, but when I
tried to run m2 hello:hello
the following printed on the screen.
[INFO] Building Maven Hello World Plugin
[INFO] -
---
[INFO] maven-hello-plugin: checking for updates
I think you are right. String will not work, it should be an int evalution.
But in maven I don't know how to convert a string to an int or integer.
Any idea?
Jean-Marc
Extranet
[EMAIL PROTECTED] - 22/06/2005 08:40
Veuillez répondre à users@maven.apache.org
Pour : users
cc :
Objet :
Hello List,
Just a simple best practice question:
Let's say I have a custom goal mycompany:deploy which does a couple of
things (deploy the artifact but also other kind of things). I have a
hierarchy of project
myapp/
tools/
tools1/
tools2/
modules/
modules1/
Tested and working great.
Thanks !
Stéphane
Vincent Siveton a écrit :
Done in svn.
Cheers,
Vincent
2005/6/21, Arnaud HERITIER [EMAIL PROTECTED]:
Yes please.
Vincent will fix it ;-D
Arnaud
-Message d'origine-
De : stéphane bouchet [mailto:[EMAIL PROTECTED]
Envoyé : mardi 21
here ya go :)
goal name=mytest
j:invokeStatic var=bleh className=java.lang.Integer method=
parseInt
j:arg type=java.lang.String value=5/
/j:invokeStatic
echobleh class is ${bleh.getClass()}/echo
j:if test=${bleh gt 4}
echotrue/echo
/j:if
j:if test=${bleh
On 21 Jun 2005, at 16:55, Brett Porter wrote:
Yes, it will work in this situation, but this is specifically for
provided jars though. It is not intended as a general mechanism for
optional dependencies.
Well, there's a need for such a mechanism. There's also a need for
compile-only
Hi Justin,
Thank you for your help.
Jean-Marc
Extranet
[EMAIL PROTECTED] - 22/06/2005 11:06
Veuillez répondre à users@maven.apache.org
Pour : users
cc : users
Objet : Re: Réf. : Re: Réf. : Re: How do deal with or LT in maven
1.0.1
here ya go :)
goal name=mytest
Hi Guys,
I've got a problem with M2 :
I cannot prevent dependencies from being included in a .war file (it's a
web project)
doing m2 package it always copies every dependency under /WEB-INF/lib
I tried to add an exclusion for dependecies I don't wanna pack. But I
couldn't get it to work.
When will it be shipped into the plugin?
--mike
stéphane bouchet wrote:
Tested and working great.
Thanks !
Stéphane
Vincent Siveton a écrit :
Done in svn.
Cheers,
Vincent
2005/6/21, Arnaud HERITIER [EMAIL PROTECTED]:
Yes please.
Vincent will fix it ;-D
Arnaud
-Message
Sorry, I missed the Dependency Scope thread.
So the scope provided should solve my problems.
I still don't understand why my pom breaks.
Paolo
Paolo Donà wrote:
Hi Guys,
I've got a problem with M2 :
I cannot prevent dependencies from being included in a .war file (it's
a web project)
doing
the exclusions tag is new to alpha-3. The site has been published
ahead of its release tomorrow.
Cheers,
Brett
On 6/22/05, Paolo Donà [EMAIL PROTECTED] wrote:
Sorry, I missed the Dependency Scope thread.
So the scope provided should solve my problems.
I still don't understand why my pom
First... many thanks for the response! It's so tough to find good examples
with this product since it's so new.
I tried your example... here's my pom.xml entry:
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ejb-plugin/artifactId
goals
I tried your example... here's my pom.xml entry:
This generates an -client.jar alongside the main EJB (but a bug in
alpha-2 caused it not to work).
But it appears you want something else...
Of course, nothing different happens when I generate the jar, so I'm
guessing that this functionality
Hi Antoine,
Is it a bug or something I do wrong ?
It seems to be a bug...
Just for your information, you dont need to specify a bundle: by
default, it is the bundle defined by the key ${maven.xdoc.bundle}.
I've seen nothing about this on Jira. Do i open a Jira issue ?
Yes please.
(any
The maven-plugins team is pleased to announce the Dbunit Plug-in 1.6 release!
http://maven-plugins.sourceforge.net
A plugin to automate Dbunit tasks
Changes in this version include:
New Features:
o Order tables on export. Thanks to Josh Holtzman.
Fixed bugs:
o Support mssql
Here's the basic gist of what I'm after:
Since our EJBs are course-grained, we pass and return value objects in our
signature methods... for example, let's take an EJB and call it
ObjectLookup, which has the following method:
public Thingy getThingy(ThingyIdentifier id);
Now, of course, I would
This was actually my understanding too. We made a
class that builds a test suite dynamically based off
of a directory (starting point) and it now runs all of
our tests in under 2 minutes instead of 30.
Thanks,
Bryan
--- Siegfried Goeschl [EMAIL PROTECTED]
wrote:
Hi Bryan,
I think Maven is
That what you can do:
1. Define a Test Suite with all your tests.
2. Define your pom like that:
unitTest
includes{The TestSuite you created in (1)}/includes
excludes{All tests included at the TestSuite in (1)}/excludes
/unitTest
[]'s
On 6/22/05, bryan hansen [EMAIL PROTECTED] wrote:
This
I just had this happen again with a build. The initial goal for this
project is a plugin I wrote that cleans out the entire source tree then
gets it from CVS. The clean worked fine, but there was an error on the
checkout. However, Maven doesn't seem to get the message, and reports
that the
Hi all,
maven-test-plugin-1.6.2
I am doing a simple maven goal test:test . I have some configuration files
in a folder conf/test.
+--conf
+--java
+--test
+--src
+--java
+--test
Normally the plugin should copy all the files from conf/java to
target\test-classes\.
Hi,
I tried upgrading from maven 1.0.2 to maven-1.1-beta-1
and immediately started getting StackOverflowError.
To recreate the problem, create a tiny maven project
as follows, and run the default goal:
maven.xml:
project default=default
goal name=default
On Wed, 22 Jun 2005 [EMAIL PROTECTED] wrote:
Hi Jean-Marc,
maven:copy-resources uses the Ant Copy task internally. It checks
the filtering property on the resource being copied and enables
filtering on the copy task. It seems your excel files are
defined in a resources section where you
On Wed, 22 Jun 2005, Dale Wyttenbach wrote:
Hi,
Dots in JEXL expressions normally indicate method accesses (e.g. foo.bar
will result in foo.getBar()). Only when after resolving 'foo'
no 'getBar()' method is found, the Context is searched for a variable
named 'foo.bar'.
Your expression has
maven 1.1-beta-1 doesn't parse my project.xml. It gives me errors
like these:
org.apache.maven.MavenException: Unknown error reading project
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:146)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:99)
...
---
Since it repeated several times, I assume this is not just a type in the email:
sourceModication - sourceModification
Even though Maven1 didn't fail on this, it would have ignored it.
Cheers,
Brett
On 6/23/05, Scott Lamb [EMAIL PROTECTED] wrote:
maven 1.1-beta-1 doesn't parse my project.xml.
I means that you have to follow strictly the project schema. See:
http://maven.apache.org/reference/backwards-compatibility.html:
Parse errors on previously 'valid' project files
project.xml files that used to work in older versions of Maven may
now present parse errors. The parser in Maven 1.1
27 matches
Mail list logo