download maven-idea-plugin-1.7.jar from http://repo1.maven.org/maven2/maven/maven-idea-plugin/1.7/
install the maven-idea-plugin-1.7.jar $M2_HOME\bin>mvn install:install-file -Dfile=maven-idea-plugin-1.7.jar -Dversion=1.7 -Dpackag ing=jar -DartifactId=maven-idea-plugin -DgroupId=org.apache.maven.plugins cd /TheDirectoryWhichContainsYourPOM.xml mvn idea:idea Go to idea IDE and open the ProjectName.ipr Cheers! Martin > ----- Original Message ----- > Wrom: AAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYC > To: "Ant Users List" <user@ant.apache.org> > Sent: Monday, September 24, 2007 12:22 PM > Subject: RE: Task to Create Eclipse and IDEA Project Files > > > I think you misunderstood what I was looking for. I'd like to create an > Ant target to create the actual Eclipse and IntelliJ project files based > on the dependencies specified in the pom.xml for our projects. > > I don't need to run anything in Eclipse or IntelliJ, and I don't need to > use Eclipse or IntelliJ to run Ant tasks, I just need to create the > project files. > > Thanks, > Ian > > -----Original Message----- > Wrom: GPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUW > Sent: Sunday, September 24, 2000 11:06 AM > To: Ant Users List > Subject: Re: Task to Create Eclipse and IDEA Project Files > > Good Morning Ian- > > the ability to run eclipse projects via the org.eclipse.ant.core > plug-in. > http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc > isv > /guide/ant_eclipse_tasks.htm > Also any library additions fpr accessing native methods must be handled > by > the Eclipse plugin library as Ants classloader may not have been gc'ed > before the next invocation of the Ant task > > plugins > Apparently Eclipse plugin classloader cannot load Ant specific classes > or > jars since Ant classes/jars do not have a Eclipse plugin library > signature > http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc > isv > /guide/ant_eclipse_tasks.htm > > but.. the reverse is not true as The plug-in contributing the JARs is > added > to the Ant classpath > > Martin-- > ----- Original Message ----- > Wrom: LSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSK > To: <[EMAIL PROTECTED]> > Sent: Monday, September 24, 2007 10:19 AM > Subject: Task to Create Eclipse and IDEA Project Files > > > Is there an Ant task somewhere that mirrors the maven behavior for > creating > Eclipse .project and .classpath along with Intellij .iml and .imr files > based on the dependencies specified pom.xml? > > Currently we are using Ant with the Maven plugin so that we can take > advantage of the dependency graph auto-download ability. > > Thanks, > Ian > > > --------------------------------------------------------------------- > 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]