directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r698454 - /directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
Date Wed, 24 Sep 2008 07:48:46 GMT
Author: pamarcelot
Date: Wed Sep 24 00:48:46 2008
New Revision: 698454

URL: http://svn.apache.org/viewvc?rev=698454&view=rev
Log:
Added the generation of the manifest via 'bundle:manifest'.

Modified:
    directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java

Modified: directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
URL: http://svn.apache.org/viewvc/directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java?rev=698454&r1=698453&r2=698454&view=diff
==============================================================================
--- directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
(original)
+++ directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
Wed Sep 24 00:48:46 2008
@@ -79,7 +79,7 @@
 	public void execute() throws MojoExecutionException {
 		if (project.isExecutionRoot()) {
 			try {
-				forkMvnGoal("eclipse:eclipse");
+				forkMvnGoal( "eclipse:eclipse" );
 			} catch (Exception e) {
 				throw new MojoExecutionException(e.getMessage());
 			}
@@ -91,6 +91,14 @@
 
 				// copy Artifacts
 				copyArtifacts(artifactList);
+				
+				if (project.isExecutionRoot()) {
+			try {
+				forkMvnGoal( "bundle:manifest" );
+			} catch (Exception e) {
+				throw new MojoExecutionException(e.getMessage());
+			}
+		}
 
 				// Update .classpath
 				updateDotClasspath(artifactList);



Mime
View raw message