Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 4599 invoked from network); 21 Apr 2005 17:50:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Apr 2005 17:50:34 -0000 Received: (qmail 30000 invoked by uid 500); 21 Apr 2005 17:50:49 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 29979 invoked by uid 500); 21 Apr 2005 17:50:48 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 29964 invoked by uid 99); 21 Apr 2005 17:50:48 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=BIZ_TLD,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mx.cbeyond.net (HELO mx.cbeyond.com) (66.180.96.58) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 21 Apr 2005 10:50:48 -0700 Received: from [69.15.171.61] (port=1030 helo=[127.0.0.1]) by mx.cbeyond.com with esmtp (Exim 4.34) id 1DOfoq-00040i-2m for torque-user@db.apache.org; Thu, 21 Apr 2005 13:50:28 -0400 Message-ID: <4267E7B4.8070502@pro-sys.biz> Date: Thu, 21 Apr 2005 13:49:40 -0400 From: Brent Atkins User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: Bad Zip in download area References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes, I use Maven within Eclipse often... The first plug in you want to use is the Maven Eclipse plug in http://maven.apache.org/reference/plugins/eclipse/ It has goals that create a .project and .classpath that Eclipse can use. CodeHaus has a Meventide plug in for Eclipse that works nicely. http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html It adds a few features that you might find useful. It has a Maven launcher (like the Ant target editor that comes with Eclipse, it searches the POM and build.xml to give you a list of all available goals for the project, so it's easier to add goals to your external tools list). It also includes a POM editor that works as well as a POM validator. It has a Jelly editor for making your own plug ins. It also has an autolaunch feature (you have to turn it on) to have a continuous build feature that Eclipse has for normal projects. It also has a Maven repository browser. So the general path from taking a Maven enabled source code, to actually working on it in Eclipse is as follows. Verify you have the Maven Eclipse plug in and the Meventide Eclipse plug in installed. Grab the code from the repository via the CVS perspective. Surf through the Maven goals that Meventide lets you see, and run the goal [maven eclipse] to create the .classpath and .project. (You may need to then start eclipse with the -clean option to get Eclipse to recognize the new files). Finally you have a working system that you can use. Add new Maven goals to your project using the POM browser and turn on the auto build feature if you want. There is one problem that I have been unable to fix though. Running the javadoc goal through Eclipse still gives me an error. The javadoc command generated by Maven (with all of the classpath info) is too long to fit inside the Eclipse console. You can run it in a command line with no problem, but I've yet to find a good setup for Eclipse that solves this issue. Even when using the maven.javadoc.useexternalfile property. (Any ideas?) If you have any trouble with Meventide, I can say that Bob McWhirter (CodeHaus founder) is a really nice guy. I met him at ApacheCon 2004, and he is a great resource. CodeHaus has alot of community support and I'm sure would love to hear other ideas for their plugin. Let me know if you have any other questions... Robert Kromkamp wrote: >Does anyone know how to use Maven within Eclipse? > >-----Original Message----- >From: Brent Atkins [mailto:brent.atkins@pro-sys.biz] >Sent: woensdag 20 april 2005 21:48 >To: Apache Torque Users List >Subject: Re: Bad Zip in download area > > >Then can I recommend taking look at Maventide Netbeans over at CodeHaus > >http://mevenide.codehaus.org/mevenide-netbeans-project/index.html > >Pietro Federico wrote: > > > >>Thomas Fischer wrote: >> >> >> >>>Well, if somebody absolutely wants to use ant instead of maven, the ant >>>scripts contained in Torque 3.1 still run with 3.1.. However, I'd >>>recommend to use maven. >>> >>> >>> >>> >>> >>>>Hi, >>>> >>>>It's correct. Ant is replaced by maven in torque-3.1.1 you can read >>>> >>>> >>One reason why using ant could be that I'm tring to use it with >>Netbeans4 ant only projects. >> >> >>Thanks >>Pietro.- >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >>For additional commands, e-mail: torque-user-help@db.apache.org >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >For additional commands, e-mail: torque-user-help@db.apache.org > >--------------------------------------------------------------------- >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >For additional commands, e-mail: torque-user-help@db.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org