[jboss-cvs] JBossAS SVN: r112662 - projects/jboss-jca/trunk/eclipse/src/main/java/org/jboss/jca/eclipse/wizards.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 19 23:06:55 EST 2012


Author: jeff.zhang
Date: 2012-02-19 23:06:54 -0500 (Sun, 19 Feb 2012)
New Revision: 112662

Modified:
   projects/jboss-jca/trunk/eclipse/src/main/java/org/jboss/jca/eclipse/wizards/BuildWizardPage.java
Log:
[JBJCA-731] set correct build environment

Modified: projects/jboss-jca/trunk/eclipse/src/main/java/org/jboss/jca/eclipse/wizards/BuildWizardPage.java
===================================================================
--- projects/jboss-jca/trunk/eclipse/src/main/java/org/jboss/jca/eclipse/wizards/BuildWizardPage.java	2012-02-20 02:53:58 UTC (rev 112661)
+++ projects/jboss-jca/trunk/eclipse/src/main/java/org/jboss/jca/eclipse/wizards/BuildWizardPage.java	2012-02-20 04:06:54 UTC (rev 112662)
@@ -103,7 +103,7 @@
       final Combo combo = new Combo(container, SWT.DROP_DOWN | SWT.READ_ONLY);
       combo.setItems(items);
       combo.setText("Apache Ant");
-      ((CodeGenWizard) getWizard()).getDef().setVersion("ant");
+      ((CodeGenWizard) getWizard()).getDef().setBuild("ant");
 
       combo.addSelectionListener(new SelectionAdapter()
       {
@@ -111,13 +111,13 @@
          {
             if (combo.getText().equals("Apache Maven"))
             {
-               ((CodeGenWizard) getWizard()).getDef().setVersion("maven");
+               ((CodeGenWizard) getWizard()).getDef().setBuild("maven");
             } else if (combo.getText().equals("Apache Ant"))
             {
-               ((CodeGenWizard) getWizard()).getDef().setVersion("ant");
+               ((CodeGenWizard) getWizard()).getDef().setBuild("ant");
             } else if (combo.getText().equals("Apache Ant / Apache Ivy"))
             {
-               ((CodeGenWizard) getWizard()).getDef().setVersion("ant+ivy");
+               ((CodeGenWizard) getWizard()).getDef().setBuild("ivy");
             }
          }
       });



More information about the jboss-cvs-commits mailing list