Antrun ftp under Java6
Hello, I have a simple ant build.xml file that perform an FTP, that is called by antrun, if i execute it using Java5 it works like a charm, if i execute using Java6 it doesn't work and says i can't find a needed library (jcommons that must be there since using j5 works!) Problem is that if i use Java6 and i call the ant file directly works so it must be some kind of antrun issue with java6 i think.I have also another antrun task defined in my project and that works, so probably issue is only with tasks (like ftp) that needs external library or some kind of similar issue anyone has ever tried that? Thanks a lot for your help
Re: configuring JDK
you could think about using this org.apache.maven.plugins maven-compiler-plugin true true 1.3 Hope this helps Max On 1/23/07, Roald Bankras <[EMAIL PROTECTED]> wrote: Hi On the 'introduction-to-profiles' page it is stated that ' one of the goals in maven 2 is to consolidate all the information needed to run a build into a single file, or file hierarchy which is the POM". To my surprise however, it is rather difficult to configure a specific JDK (i.e. JAVA_HOME) for a project. My situation is as follows. I have multiple projects using version 1.4, 1.5 and 1.6 JDKs. I've already configured the compiler plugin to use the right source and target options. However, what I would like to do is to point the compiler to a specific JAVA_HOME environment from the settings.xml. I suppose this should be possible by using profiles, however activating the correct profile is a problem for me. My final option is to force every developer to first set the correct JAVA_HOME as a system environment. Which I would have to configure on the buildserver as well (somehow). This however is error prone. Therefore, I hope that some of you have a much more flexible sollution. thx. Regards Roald Bankras -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.6/646 - Release Date: 1/23/2007 3:36 AM
Webstart and Upload
Hello, I ported my application into maven2 using Webstart plugin and i have the zip file generated, but i have a couple question 1) I have the zip file produced, is there a way to upload to the ftp site where my JWS runs automatically or i have to do it manually? 2) I have a complex system, basically i first use filtering to generate not only template.vm but also all the sets of development/testing/production html files that will ship to the site. All those files are put in target/classes of course and then template.vm is used to generate app.jnlp When the zip is generated i have to include, dependency, app.jnlp and all other extra file that for me stays in the same directory as template.vm(target/classes). Any way not to include it? Is not a big dela just trying to understand if this can be done Thanks Massimiliano
Re: Maven SCM plugin: where do I get cvs.exe?
Thanks but i found the problem. It was the fact that directory contained a space and i was forced to put it between " and that make Maven not being too happy about it! As soon as i removed the space from the name and the " worked On 5/31/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > What is the error message you get? > > 2005/5/30, Massimiliano Amato <[EMAIL PROTECTED]>: > > Hi. > > > > I've cvs.exe in the path but scm plugin still doesn't work > > > > I can run cvs from the directory where i lauch maven from > > > > I launched maven with -X option and cvs.exe is in the path, what could > > be the problem? > > > > On 5/26/05, bryan ( [EMAIL PROTECTED]) > > <[EMAIL PROTECTED]> wrote: > > > google: find cvsnt , install it , add the cvs.exe to your path > > > > > > On 5/26/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > > this is my first attempt at using cvs, so bear with me for a moment. I > > > > tried: > > > > > > > > maven scm:checkout-project -Dmaven.scm.method=cvs > > > > -Dmaven.scm.cvs.module=pmd > > > > -Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/cvsroot/pmd > > > > -Dmaven.scm.checkout.dir=. > > > > > > > > to get the latest PMD code, but this fails with the following error: > > > > > > > > java.io.IOException: CreateProcess: cvs > > > > -d:pserver:[EMAIL PROTECTED]:/cvsroot/pmd -q checkout -P > > > > pmd error=2 > > > > > > > > Which means that cvs.exe (or .bat) cannot be found. Do I need to > > > > install a cvs client or server or what do I need? Basically, I want to > > > > start to learn how to contribute to open-source projects. I hope you > > > > can help me out. > > > > > > > > regards, > > > > > > > > Wim > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven SCM plugin: where do I get cvs.exe?
Hi. I've cvs.exe in the path but scm plugin still doesn't work I can run cvs from the directory where i lauch maven from I launched maven with -X option and cvs.exe is in the path, what could be the problem? On 5/26/05, bryan ( [EMAIL PROTECTED]) <[EMAIL PROTECTED]> wrote: > google: find cvsnt , install it , add the cvs.exe to your path > > On 5/26/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > this is my first attempt at using cvs, so bear with me for a moment. I > > tried: > > > > maven scm:checkout-project -Dmaven.scm.method=cvs > > -Dmaven.scm.cvs.module=pmd > > -Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/cvsroot/pmd > > -Dmaven.scm.checkout.dir=. > > > > to get the latest PMD code, but this fails with the following error: > > > > java.io.IOException: CreateProcess: cvs > > -d:pserver:[EMAIL PROTECTED]:/cvsroot/pmd -q checkout -P > > pmd error=2 > > > > Which means that cvs.exe (or .bat) cannot be found. Do I need to > > install a cvs client or server or what do I need? Basically, I want to > > start to learn how to contribute to open-source projects. I hope you > > can help me out. > > > > regards, > > > > Wim > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SCM, ssh and repository
Hello I am trying to have maven updating my project using scm goal Problem is that i've both a developerconnection and an anonymous connection defined in project.xml and it looks like SCM use developer connection if set Now if i override this and i use anonymous connection scm works like a charm, but i can't make it work with ssh Anyone know what i can do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]