--Applet Alert-- dialog box with JDK1.6

2007-03-29 Thread Anthony Kong
Hi, all, I have searched the achieve but did not find anything related. So please bear with me if it has been asked before. This happens to me whenever I use mvn 2.0.4 or 2.0.5. I ran mvn in cygwin on WinXp with JDK 1.6 (build 1.6.0_01-ea-b0) installed For some reason, the execution of 'mvn

RE: [M2] Compiling with JDK 1.4

2006-03-27 Thread Anthony Kong
Try 'maven clean' first then recompile. Somehow if the class files exist in target dir, the compiler may not overwrite them. These class files may have been compiled in 1.5 prior to your changes to pom.xml Cheers, AK -Original Message- From: Mang Jun Lau [mailto:[EMAIL PROTECTED]

RE: Migrating from ant to maven

2006-03-21 Thread Anthony Kong
Many people have migrated from ant to maven. And I did too. I think there is no magic bullet to the migration. You have to be familiar with what your complex build.xml does and then translate the build processes in your build.xml to corresponding maven goals. I ended up writing a maven plugin for

RE: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Anthony Kong
You can setup an in-house repository. I setup mine using apache. Then download the jars from sun and store them in your inhouse repo. Then add this to your pom.xml ... repositories repository idlibrary/id namelibrary/name

[m1] svn and maven plugin trunk

2006-01-17 Thread Anthony Kong
Hi, all, When I tried to use svn to check out the latest plugin sources, I got this error: $ svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk maven-1/plugins/trunk svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf/!svn/vcc/default': 400

RE: Wanted: Help getting first Eclipse/Maven program running

2005-10-12 Thread Anthony Kong
You can take a look at the maven eclipse plugin for a start. (http://maven.apache.org/reference/plugins/eclipse/goals.html) In partciular, the goal eclipse:add-maven-repo should be able to help you out to make the dependencies visible in eclipse. Cheers, AK -Original Message- From:

RE: [m11b2] Long coercion exception

2005-10-09 Thread Anthony Kong
: Re: [m11b2] Long coercion exception It happens somewhere after this echo: [echo] Clearing the old source ... It looks like there is a property or expression somewhere with a '-' in the name, e.g. ${12-there} or ${label-1} or something similar. On 10/7/05, Anthony Kong [EMAIL PROTECTED

RE: [m11b2] Long coercion exception

2005-10-07 Thread Anthony Kong
coercion exception Try running maven -X whateverGoalCausesTheProblem Somewhere there is an expression, probably with a +/- or other arithmetic expression in it. On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote: Hi, Thanks for the reply! Actually there is so little information, I do not know even

[m11b2] Long coercion exception

2005-10-06 Thread Anthony Kong
Hi, all, Anyone has any idea what cause this exception? Cheers, AK == Caught exception evaluating: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Reason: java.l ang.Exception: Long coercion exception java.lang.Exception: Long coercion exception at

RE: [m11b2] Long coercion exception

2005-10-06 Thread Anthony Kong
: [m11b2] Long coercion exception I'm guessing the expression starting with 'mailto:' is being parsed as a number. Where is it being declared? On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote: Hi, all, Anyone has any idea what cause this exception? Cheers, AK

[m1.0.2] war file not in dependency list in goal execution

2005-10-05 Thread Anthony Kong
Hi, all, Due to a particular need of my project, i have to copy some dependencies to another directory. The dependencies include a war file. I have written this code fragment in a maven.xml j:forEach var=lib items=${pom.artifacts} ant:echo ${lib.name}/ant:echo j:set

RE: [m1.0.2] war file not in dependency list in goal execution

2005-10-05 Thread Anthony Kong
introduce a war file of different groupId and artfactId (says haha), I can see this particular war file (haha-x.y.z.war) ... Is it a bug? Is there a workaround of this issue? Cheers, AK -Original Message- From: Anthony Kong [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 October 2005 9:32 AM

RE: [m1.0.2] war file not in dependency list in goal execution

2005-10-05 Thread Anthony Kong
: Anthony Kong [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 October 2005 10:02 AM To: 'Maven Users List' Subject: RE: [m1.0.2] war file not in dependency list in goal execution I think I have found out the cause (not the solution, though) Actually in my dependency list I have these entries

RE: using maven.test.skip

2005-09-27 Thread Anthony Kong
! Thanks, Anthony -Original Message- From: Andy Glick [mailto:[EMAIL PROTECTED] Sent: Tuesday, 27 September 2005 12:34 PM To: Maven Users List Cc: 'Maven Users List' Subject: RE: using maven.test.skip At 08:32 PM 9/26/2005, Anthony Kong wrote: 2) To proceed, I hardcoded the value

RE: using maven.test.skip

2005-09-26 Thread Anthony Kong
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Glick Sent: Monday, 26 September 2005 11:38 AM To: users@maven.apache.org Subject: Re: using maven.test.skip Anthony Kong wrote: Hi, all, I have written a custom plugin for a in-house project which will produce a ear file at the end

using maven.test.skip

2005-09-25 Thread Anthony Kong
Hi, all, I have written a custom plugin for a in-house project which will produce a ear file at the end. There is a number of goals defined in this plugin. One of these is: goal name=projecct:ear-build description=Invokes ejb:install and war:install goal j:set var=maven.test.skip

ear question

2005-07-27 Thread Anthony Kong
Hi, all, I have the ear goal to build a ear file but it turns out that it does not include any class or jar files. Any suggestion to how I can solve this problem? The only property I used concering ear is this:

Re-send: ear question

2005-07-27 Thread Anthony Kong
Sorry. Hit the send button by mistake. Here is the complete message: Hi, all, I have the ear goal to build a ear file but it turns out that it does not include any class or jar files. Any suggestion to how I can solve this problem? The only property I used

maven1.0.2 - jar Java Source attachment

2005-07-18 Thread Anthony Kong
Hi, all, In eclipse, we can specify in each library in the workbench the location of Source Attachment or JavaDoc Location. How can I define these attribute in maven? Cheers, AK

maven v. 1.0.2 and multiproject:site

2005-07-12 Thread Anthony Kong
Hi, all, I wonder where I can get more information/example of the use of the goal multiproject:site? Basically I have a dir structure as such: src/ projectA projectB tests/ projectA projectB Each of them shall result in a jar file. And I am reluctent to move the file around

Cannot execute the pregoal

2005-07-10 Thread Anthony Kong
Hi, all, In my project.xml, I have this pregoal definition: project !-- == Goals == -- preGoal name=java:compile attainGoal name=checkstyle:run / /preGoal

Exception. How to know what goes wrong?

2003-06-02 Thread Anthony Kong
I have seen the following message in my maven log when I use -X flag with maven. How can I know what caused this error? Regards, Anthony = 2003-06-02 16:03:18,480 WARN org.apache.commons.jelly.expression.jexl.JexlExpression -