[jboss-cvs] JBossAS SVN: r79781 - in projects/aop/trunk/aophelper: src/main/java/org/jboss/aophelper/ui and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 20 19:29:00 EDT 2008


Author: stalep
Date: 2008-10-20 19:29:00 -0400 (Mon, 20 Oct 2008)
New Revision: 79781

Modified:
   projects/aop/trunk/aophelper/pom.xml
   projects/aop/trunk/aophelper/src/main/java/org/jboss/aophelper/ui/AopHelperMenuBar.java
Log:
[JBAOP-538] added better about info
added profile to the pom.xml


Modified: projects/aop/trunk/aophelper/pom.xml
===================================================================
--- projects/aop/trunk/aophelper/pom.xml	2008-10-20 22:53:46 UTC (rev 79780)
+++ projects/aop/trunk/aophelper/pom.xml	2008-10-20 23:29:00 UTC (rev 79781)
@@ -23,26 +23,11 @@
    </pluginRepositories>
 
   <dependencies>
-  <!--
     <dependency>
-      <groupId>org.jboss.aop</groupId>
-      <artifactId>jboss-aop</artifactId>
-      <version>2.0.0.CR3</version>
-      <scope>compile</scope>
-    </dependency>
-    -->
-    <dependency>
       <groupId>org.jboss.maven.plugins</groupId>
       <artifactId>maven-jbossaop-plugin</artifactId>
       <version>1.0.0-SNAPSHOT</version>
     </dependency>
-    <!--
-     <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>1.2.14</version>
-    </dependency>
-    -->
   </dependencies>
 
   <repositories>
@@ -82,49 +67,60 @@
             <target>${jdkVersion}</target>
          </configuration>
       </plugin>
-        <plugin>
-            <groupId>org.jboss.maven.plugins</groupId>
-            <artifactId>maven-jbossaop-plugin</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
-            <executions>
-              <execution>
-                <id>compile</id>
-                <configuration>
-                <!-- if you want to include dependencies from the current module
-                     (only needed if a class inherits a class thats not defined in this module
-                  <includeProjectDependency>true</includeProjectDependency>
-                     -->
-                  <aoppaths>
-                    <aoppath>src/main/resources/jboss-aop.xml</aoppath>
-                  </aoppaths>
-                </configuration>
-                <goals>
-                  <goal>compile</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>run</id>
-                <configuration>
-                  <aoppaths>
-                    <aoppath>src/main/resources/jboss-aop.xml</aoppath>
-                  </aoppaths>
-                  <loadtime>true</loadtime>
-                  <executable>org.jboss.aophelper.ui.AopHelperFrame</executable>
-                </configuration>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-              </execution> 
-            </executions>
-      </plugin>
-
-
-
-
     </plugins>
-
   </build>
 
+   <profiles>
+    <profile>
+      <id>run-aophelper</id>
+      <activation>
+        <property>
+          <name>run-aophelper</name>
+        </property>
+      </activation>
+
+      <build>
+        <plugins>
+            <plugin>
+                <groupId>org.jboss.maven.plugins</groupId>
+                <artifactId>maven-jbossaop-plugin</artifactId>
+                <version>1.0.0-SNAPSHOT</version>
+                <executions>
+                  <execution>
+                    <id>compile</id>
+                    <configuration>
+                    <!-- if you want to include dependencies from the current module
+                         (only needed if a class inherits a class thats not defined in this module
+                      <includeProjectDependency>true</includeProjectDependency>
+                         -->
+                      <aoppaths>
+                        <aoppath>src/main/resources/jboss-aop.xml</aoppath>
+                      </aoppaths>
+                    </configuration>
+                    <goals>
+                      <goal>compile</goal>
+                    </goals>
+                  </execution>
+                  <execution>
+                    <id>run</id>
+                    <configuration>
+                      <aoppaths>
+                        <aoppath>src/main/resources/jboss-aop.xml</aoppath>
+                      </aoppaths>
+                      <loadtime>true</loadtime>
+                      <executable>org.jboss.aophelper.ui.AopHelperFrame</executable>
+                    </configuration>
+                    <goals>
+                      <goal>run</goal>
+                    </goals>
+                  </execution> 
+                </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <properties>
     <jdkVersion>1.5</jdkVersion>
   </properties>

Modified: projects/aop/trunk/aophelper/src/main/java/org/jboss/aophelper/ui/AopHelperMenuBar.java
===================================================================
--- projects/aop/trunk/aophelper/src/main/java/org/jboss/aophelper/ui/AopHelperMenuBar.java	2008-10-20 22:53:46 UTC (rev 79780)
+++ projects/aop/trunk/aophelper/src/main/java/org/jboss/aophelper/ui/AopHelperMenuBar.java	2008-10-20 23:29:00 UTC (rev 79781)
@@ -87,7 +87,7 @@
    
    private void showDialog()
    {
-      JOptionPane.showMessageDialog(this, "more info will come....");
+      JOptionPane.showMessageDialog(this, "JBoss AOP Helper is intendend to \n help users easily test and run their aop apps\n  without going through ant/maven.\n\n NOTE: Aophelper is still in beta stage.");
    }
 
    private JMenu createFileMenu()




More information about the jboss-cvs-commits mailing list