Issue with Release plugin

2006-05-11 Thread Sanjay Choudhary
Sometime back I fixed the bug "Line too long" when we try to do mvn compile with jdk 1.3.* *Later I submitted the patch to JIRA too but unfortunately it is not released as yet. http://jira.codehaus.org/browse/MCOMPILER-22 To use the compiler fix in our company, I released the patch in our compa

Manifest.Mf

2006-05-09 Thread Sanjay Choudhary
Is there a way to add properties folder to Manifest.mf classpath entry when building using maven? Thx, sanjay

Re: Deploying 3rd party SNAPSHOT libraries

2006-04-14 Thread Sanjay Choudhary
Roland, We did this for multiple 3rd party jars and didn't have any issues. In settings.xml define the server entry for your server where you want to deploy the jar. 1. inhouse_release maven /home2/wasadm/.ssh/maven_key then in the profile section define the entry 2

Re: Best approach to deploy in websphere app server

2006-04-14 Thread Sanjay Choudhary
You may also use JACL Scripts to automate deployment of EAR or WAR on server. As John said , in these scripts ou will call commads of wsadmin. -Sanjay On 4/14/06, John Sanda <[EMAIL PROTECTED]> wrote: > > I work in a WebSphere shop, primarily WAS 5.0.x, but I have worked on > WAS 5.1.x some as w

Re: Maven and IRAD (WSAD)

2006-04-10 Thread Sanjay Choudhary
I have done this for our company. It was a challenge in begining but now things are very smooth. It is not easy as saying do this and do that. If you give me your project structure, I can give you some advice and RAD6 maven plugins. I also plan to write an article on "How to work on RAD6 using m

MavenArchiveConfiguration - How to instantiate it with configuration values in POM.xml.

2006-03-24 Thread Sanjay Choudhary
I am in process of writting a plugin for RAD6/WSAD. Most of the functionality is provided by the eclipse plugin , ie, creating .classpath and .project. One thing that is missing is creating Manifest.mf for EJB and WAR projects. For this IDE , I need to manuplate creation of MANIFEST.MF. Basically

Re: [M2] StringIndexOutOfBoundsException under linux

2006-03-23 Thread Sanjay Choudhary
try to compile it with mvn -X package. you will see more debug details. Also it will be easy to troubleshoot if you can post the parent pom. -Sanjay On 3/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Hi, > > I have just installed a fresh Linux at my office (finally!). > Everything wor

Re: PROBLEM SOLVED : Line too long error when I try to fork the compiler for jdk1.3

2006-03-12 Thread Sanjay Choudhary
Finally I was able to resolve this issue On DOS if number of source files or classpath entries are too many we get an error "Line too Long" and this breaks compiling using jdk1.3 using fork. To shorten the options and source files to javac command we can use javac @options @class wrote: > On

CRITICAL: Line too long error when I try to fork the compiler for jdk1.3

2006-03-11 Thread Sanjay Choudhary
On Windows XP ( haven't tried it on unix or linux as yet) I get "line too long" error. This only happens for the projects that have more than 40 files or classpath entries are too many. Is there a way I can fix this? Please advice. cheers, Sanjay

Re: mvn COMPILE FAILING!! for modules (FORK=true) AND NUMBER of .JAVA FILES ARE OVER 30

2006-03-10 Thread Sanjay Choudhary
31 files (ie, first set is files 1-31, second is 32-63, third is > 64-95) and confirm that it always blows up on the 31st file, no matter > what 31 files you are working on? > > Can you compile your project using the JDK 1.3 with standard javac > commands? If you haven'

mvn COMPILE FAILING!! for modules (FORK=true) AND NUMBER of .JAVA FILES ARE OVER 30

2006-03-10 Thread Sanjay Choudhary
If I try to use the following setting for maven compiler plugin org.apache.maven.plugins maven-compiler-plugin 1.3 1.3 true true true C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v5/java/jre/lib/rt.jar true It works fine with 30 java files but after that it fails to co

Re: maven 2 with jdk 1.3

2006-03-10 Thread Sanjay Choudhary
I discovered that there was a filter which had a method that was like StringBuffer.append(StringBuffer) (API only available in 1.4 and above) . I looked at the generated bytecode and confirmed it. Same code when I compiled using JDK 1.3 it used StringBuffer.append(Object). I used the setting sugg

Re: maven 2 with jdk 1.3

2006-03-10 Thread Sanjay Choudhary
truts.taglib.template.InsertTag.doEndTag( > InsertTag.java:164) > > Wayne > > > On 3/10/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > No, I am sure that javax.servlet library is JDK 1.3. It is provided by > ibm > > was 5 and we used it to compile

Re: maven 2 with jdk 1.3

2006-03-10 Thread Sanjay Choudhary
he code and recompile with JDK 1.3 if you must use it along > with code that targets 1.3. > > Wayne > > > On 3/10/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I have an application that run's on JDK 1.3. > > > > In the

maven 2 with jdk 1.3

2006-03-10 Thread Sanjay Choudhary
Hi All, I have an application that run's on JDK 1.3. In the POM's I have the following setting org.apache.maven.plugins maven-compiler-plugin 1.3 1.3 true true true Is there anything else I need to do to make it work with JDK 1.3? If not, why will I get an error, [3/10/06 11:2

Re: War's - How to exclude bundling of jars in WEB-INF/lib? They are caused because of transitive depedencies

2006-02-28 Thread Sanjay Choudhary
; than loved for who you are not > > Ian D. Stewart > Appl Dev Analyst-Advisory, DCS Automation > JPMorganChase Global Technology Infrastructure > Phone: (614) 244-2564 > Pager: (888) 260-0078 > > > > "Sanja

War's - How to exclude bundling of jars in WEB-INF/lib? They are caused because of transitive depedencies

2006-02-28 Thread Sanjay Choudhary
Let us assume that we have an EAR which is dependent on Struts-x version. Ear dependent on Struts java 1 dependent on Struts java 2 web dependent on Struts Now when we build, our EAR contains struts-x.jar and all the other transitive dependencies of struts. Since our

Re: Not building EAR for an application

2006-02-26 Thread Sanjay Choudhary
ur modules will be > checkout in the correct > directory structure > > Emmanuel > > Sanjay Choudhary a écrit : > > Hi Emmanuel > > > > I like option 2 and I tried it too but it doesn't work > > > > My Parent pom has module definition as b

Re: tried to build and run continuum 1.1-SNAPSHOT

2006-02-17 Thread Sanjay Choudhary
a tag name. But you can create a little > script that do what you > want and add your project as a Shell Project in continuum. > > Emmanuel > > Sanjay Choudhary a écrit : > > Hi Emmanuel, > > > > Thanks for your reply. > > > > Another quick advice. We pe

Re: Maven 2 EAR, WAR, EJB Common Dependencies

2006-01-27 Thread Sanjay Choudhary
Try this in your ejb pom org.apache.maven.plugins maven-ejb-plugin true true development ${pom.url} true WAR POM

Re: maven2 war plugin error

2006-01-26 Thread Sanjay Choudhary
Hi Allan/Mouli, My experience is that if we have scope as provided then these files don't get included in the classpath entry of MANIFEST.MF file. try this, flexpub flexpubcontroller true this works well. Thanks, Sanjay On 1/26/06, Allan Ramirez <[EMAIL PRO

Re: [m2] how to handle SNAPSHOTS in a company?

2006-01-26 Thread Sanjay Choudhary
you may refer to Brett Porter blog explaning this url is http://blogs.codehaus.org/people/brett/archives/maven.html#001045_improved_snapshots_in_maven2 Sanjay On 1/26/06, Fredy <[EMAIL PROTECTED]> wrote: > > Hi all, > if I install a x.x-SNAPSHOT Version in the local repository, so i can > depen

Re: Best Practice - Maven with WSAD or RAD6

2006-01-21 Thread Sanjay Choudhary
3, 4 and 5. It will be really helpfull if you can share your projects POM. Thanks, Sanjay On 1/21/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > Thanks a lot. > > Currently, I am trying to make our existing application to use Maven 2, > both in build

Re: Best Practice - Maven with WSAD or RAD6

2006-01-21 Thread Sanjay Choudhary
dt.launching.JRE_CONTAINER > > > > > It's still not perfect - we'd like to get the generated EAR copied to > our Rapid Deployment directory for quicker development turnaround. As > is today, we still have to s

Best Practice - Maven with WSAD or RAD6

2006-01-20 Thread Sanjay Choudhary
I am able to build my projects and EAR in both WSAD and RAD6. Now problem I face is in third party jars. in RAD6/WSAD project structure is like this EAR Project contains application.xml for EAR contains all third party JAR required by application JAR project EJB Project WAR Project

Re: M2 - Help needed with profiles

2006-01-14 Thread Sanjay Choudhary
ng out common elements into a parent POM. > > Having said that, it would be a good idea to have some more details on > what you > are intending to do. > > Cheers, > > Rahul > > > - Original Message - > From: "Sanjay Choudhary" <[EMAIL PROTECTED]>

Re: Failures with downloads

2006-01-13 Thread Sanjay Choudhary
Hi Martin, I can help you. Attach your POM with the email. We can work from there. -Sanjay On 1/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > Hi, >I am trying to compile some code that requires the following > dependencies and the POM files seem to be found but not the jar files

M2 - Help needed with profiles

2006-01-13 Thread Sanjay Choudhary
I read the following on maven website Profiles specified in the POM can modify the following POM elements: - *repositories* - *pluginRepositories* - *dependencies* - *plugins* - *properties* (not actually available in the main POM, but used behind the scenes) - *modules* -

Fwd: [M2] eclipse project dependecy - how to define?

2006-01-12 Thread Sanjay Choudhary
posting again!! Eclipse plugin team, please advice. -- Forwarded message -- From: Sanjay Choudhary <[EMAIL PROTECTED]> Date: Jan 12, 2006 8:30 AM Subject: [M2] eclipse project dependecy - how to define? To: Maven Users List In maven 1.0.2 we were able to define e

[M2] eclipse project dependecy - how to define?

2006-01-12 Thread Sanjay Choudhary
In maven 1.0.2 we were able to define eclipse project dependency. For example true How can I define project depency for Eclipse in M2? Pls. advice. Thanks -Sanjay

Re: [M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > The plugin is not associated with a phase at present. It is available > now, but needs to reach the mirrors before being announced. > > - Brett > > On 1/12/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > H

Re: [M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
<[EMAIL PROTECTED]> wrote: > > A new version of the install plugin will be released shortly that you can > use: > -DgeneratePom=true > > In the mean time, you can create a small POM in the local repository > for the libraries. > > - Brett > > On 1/12/06, San

[M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
I have copied several third party jars ( Websphere application server Lib into the repository). I installed them using the following commiand Now when I build I get the following message call mvn install:install-file -Dfile=./ -DgroupId=oracle -DartifactId=classes12 -Dversion=9.0.2.0.0 -Dpackag

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Sanjay Choudhary
; etc. > > > > There are two requirements for versioning in this > > case: > > > > 1. The parent POM has to have a valid > > element (no expressions > > here). > > > > 2. Each child POM must specify a element > > that refers to the > > p

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
mirez <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > Try to use the element. > > > > > > > http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html > > > > Regards, > &

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
> On 1/10/06, Napoleon Esmundo Ramirez <[EMAIL PROTECTED]> wrote: > > Hello, > > Please try ${project.version}. > > Cheers! > Nap > > On 1/11/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > > > I have parent pom.xml as below > >

[m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
I have parent pom.xml as below http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.emember org_emember pom 1.0-8 Maven Quick Start Arch

Re: M2 - add custom classpath to plugin compiler:compile

2006-01-10 Thread Sanjay Choudhary
AIL PROTECTED]> wrote: > > The standard way to do this is to depend on those jars with > provided > > -Stephen > > On 1/10/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > We have several JARS that are present in Websphere Lib folder.

M2 - add custom classpath to plugin compiler:compile

2006-01-09 Thread Sanjay Choudhary
Hi All, We have several JARS that are present in Websphere Lib folder. In my previous project we copied all these jars in maven local repository (we were using maven 1.0.2). Then defined each dependency in project.xml (was very tedious :-( ) In M2, is there a way to set the classpath while p

Re: Best practices for release and version management?

2005-09-02 Thread Sanjay Choudhary
Hi David, Is it possible for you to share the "internal process" document with us? It will help a lot. -Sanjay On 9/2/05, David Jackman <[EMAIL PROTECTED]> wrote: > > We're pretty much doing what Jose is doing, but we don't see these > timeouts. I think it's because the Maven properties are

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
teps can be done by a bootstrap project that is not part of > your source > tree. > > In your CI, like a watch dog build, your can keep scm:update or > scm:checkout > the source and build WITHOUT deploy so that when it fails you can > notify developer. > > hope it helps!

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
ven could go a bit further with the automation of releases. Right now > a > > lot of it still manual (e.g. assigning a version number, etc.). I've > written > > a plugin that automates all of that by automatically incrementing the > last > > digit of an a

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
c.). I've > written > a plugin that automates all of that by automatically incrementing the last > digit of an application's version upon release. > > Cheers, > Thomas > > On 8/18/05, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > > > We curren

Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
We currently use Maven 1.0.2 only for building a J2EE application. *Developers aren't using it as yet.* :-( Our current process is described below. We run this process everynight to create EAR and deploy them in Sandbox. I will appreciate everyone's suggestions and comments to improve the proces

SCM plugin-1.5 and Java 1.3.1

2005-08-10 Thread Sanjay Choudhary
I am using SCM plugin -1.5. When I use JRE 1.4.1, my build works fine. But when I switch to JRE 1.3.1 I get the following error Root cause java.lang.NoSuchMethodError: java.lang.Character: method toString(C)Ljava/lang/String; not found at org.apache.maven.scm.provider.cvslib.CvsScmProvider.parse

Fwd: maven.jar.final.name usage - plugin 1.7

2005-08-09 Thread Sanjay Choudhary
Posting again!! Sanjay -- Forwarded message -- From: Sanjay Choudhary <[EMAIL PROTECTED]> Date: Aug 8, 2005 3:15 PM Subject: maven.jar.final.name <http://maven.jar.final.name> usage - plugin 1.7 To: Maven Users List I wish to use maven.jar.fina

maven.jar.final.name usage - plugin 1.7

2005-08-08 Thread Sanjay Choudhary
I wish to use maven.jar.final.name property. I want my jar file name to be different.(basiclly, don't want any version appended to it, I know it is not in alignment with maven best practice but life is not always straight). If I use maven jar:install -Dmaven.jar.f

Re: scm tagging!!

2005-08-01 Thread Sanjay Choudhary
Hi scm:cvs:local:/cvsnt/source:petstore:petstore you are specifying petstore:petstore twice. either it should be scm:cvs:local:/cvsnt/source:petstore or scm:cvs:local:/cvsnt/source/petstore:petstore Depends on your repository and module name. -Sanjay On 8/1/05, NIRMALA Manivasagam <[EMA

Re: SCM tag 1.5.

2005-08-01 Thread Sanjay Choudhary
t; > You just need to use the maven.scm.tag property. > > - Brett > > On 8/1/05, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > Brett, > > > > Just want to confirm. > > > > if we want to tag something that is in a cvs branch, in that case tag > valu

Re: SCM tag 1.5.

2005-08-01 Thread Sanjay Choudhary
7/31/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Not presently. You can use the command to do this until we > have one built in. > > - Brett > > On 8/1/05, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > Is there a way to do cvs rtag, w/o checkout the

Re: SCM tag 1.5.

2005-07-31 Thread Sanjay Choudhary
thanks a lot for your prompt help. regards, sanjay On 7/31/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Not presently. You can use the command to do this until we > have one built in. > > - Brett > > On 8/1/05, Sanjay Choudhary <[EMAIL PROTECTED]> wr

Fwd: SCM tag 1.5.

2005-07-31 Thread Sanjay Choudhary
-- Forwarded message -- From: Sanjay Choudhary <[EMAIL PROTECTED]> Date: Jul 31, 2005 11:01 PM Subject: Re: SCM tag 1.5. To: Brett Porter <[EMAIL PROTECTED]> Is there a way to do cvs rtag, w/o checkout the whole project? This is what I plan to do 1. In the build sc

Re: SCM tag 1.5.

2005-07-31 Thread Sanjay Choudhary
irectory - this command is designed to run when there is no project > in the current directory. > > To set the password, you should manually do a "cvs login" command > outside of maven first. > > - Brett > > On 8/1/05, Sanjay Choudhary <[EMAIL PROTECTED]>

SCM tag 1.5.

2005-07-31 Thread Sanjay Choudhary
Hi All, My configuration details are as below 1. Maven SCM Plug In 1.5 2. Source Control Repository CVS I am doing something very simple, that is checkout a project from a cvs repository. Command is as below:- maven scm:bootstrap - Dmaven.scm.url=scm:cvs:pserver:[EMAIL PROTECTED] :NAOL_Convers