Jaxx-commits
Threads by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- 3898 discussions
Author: tchemit
Date: 2014-02-12 18:06:03 +0100 (Wed, 12 Feb 2014)
New Revision: 2795
Url: http://nuiton.org/projects/jaxx/repository/revisions/2795
Log:
fixes #3077: Updates nuiton-validator to 3.0-rc-1
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2014-02-12 14:36:52 UTC (rev 2794)
+++ trunk/pom.xml 2014-02-12 17:06:03 UTC (rev 2795)
@@ -116,7 +116,7 @@
<projectId>jaxx</projectId>
<nuitonUtilsVersion>3.0-rc-2</nuitonUtilsVersion>
- <nuitonValidatorVersion>3.0-alpha-3</nuitonValidatorVersion>
+ <nuitonValidatorVersion>3.0-rc-1</nuitonValidatorVersion>
<nuitonConfigVersion>3.0-alpha-2</nuitonConfigVersion>
<nuitonDecoratorVersion>3.0-alpha-3</nuitonDecoratorVersion>
<nuitonI18nVersion>3.0</nuitonI18nVersion>
1
0
r2794 - in trunk/jaxx-widgets/src/main: java/jaxx/runtime/swing/editor resources/i18n
by tchemit@users.nuiton.org Feb. 12, 2014
by tchemit@users.nuiton.org Feb. 12, 2014
Feb. 12, 2014
Author: tchemit
Date: 2014-02-12 15:36:52 +0100 (Wed, 12 Feb 2014)
New Revision: 2794
Url: http://nuiton.org/projects/jaxx/repository/revisions/2794
Log:
refs #3074: Introduce a new NumberEditor (begin of story...)
Added:
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.css
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.jaxx
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Handler.java
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Model.java
Modified:
trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_en_GB.properties
trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_es_ES.properties
trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_fr_FR.properties
Added: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.css
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.css (rev 0)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.css 2014-02-12 14:36:52 UTC (rev 2794)
@@ -0,0 +1,128 @@
+JToolBar {
+ floatable: false;
+ borderPainted: false;
+ opaque: false;
+}
+
+#toolbarLeft {
+ visible: {model.isShowReset()};
+}
+
+#resetButton {
+ actionIcon: "numbereditor-reset";
+ toolTipText: "numbereditor.action.reset.tip";
+ toolTipText: {model.getShowResetTip()};
+ focusable: false;
+ focusPainted: false;
+ enabled: {isEnabled()};
+}
+
+#editor {
+ enabled:{isEnabled()};
+}
+
+#toolbarRight {
+ maximumSize: {new Dimension(24,24)};
+}
+
+#showPopUpButton {
+ actionIcon: "numbereditor-calculator";
+ toolTipText: "numbereditor.action.show.tip";
+ enabled: {isEnabled()};
+ visible: {model.isShowPopup()};
+}
+
+JButton {
+ font-size: 14;
+ focusPainted: false;
+ focusable: false;
+}
+
+JButton.digit {
+ foreground: blue;
+}
+
+JButton.operator {
+ foreground: #009900;
+}
+
+JButton.clear {
+ foreground: red;
+}
+
+JButton:mouseover {
+ font-weight: bold;
+}
+
+JButton.operator:mouseover {
+ font-weight: normal;
+}
+
+#popupPanel {
+ border: {BorderFactory.createEmptyBorder(4, 4, 4, 4)};
+ background: {Color.WHITE};
+}
+
+#padTouch0 {
+ text: "numbereditor.0";
+ /*enabled: {!getEditor().getModelText().equals("0")};*/
+}
+
+#padTouch1 {
+ text: "numbereditor.1";
+}
+
+#padTouch2 {
+ text: "numbereditor.2";
+}
+
+#padTouch3 {
+ text: "numbereditor.3";
+}
+
+#padTouch4 {
+ text: "numbereditor.4";
+}
+
+#padTouch5 {
+ text: "numbereditor.5";
+}
+
+#padTouch6 {
+ text: "numbereditor.6";
+}
+
+#padTouch7 {
+ text: "numbereditor.7";
+}
+
+#padTouch8 {
+ text: "numbereditor.8";
+}
+
+#padTouch9 {
+ text: "numbereditor.9";
+}
+
+#padTouchDot {
+ text: "numbereditor.dot";
+}
+
+#padTouchSign {
+ text: "numbereditor.sign";
+ enabled: {model.isUseSign()};
+}
+
+#padTouchClearOne {
+ text: "numbereditor.cleanOne";
+ /*enabled: {!(getModelText().isEmpty() || textField.getCaretPosition() ==0 )};*/
+}
+
+#padTouchClearAll {
+ text: "numbereditor.cleanAll";
+ /*enabled: {!getModelText().isEmpty()}:*/
+}
+
+#padValidate {
+ actionIcon: "numbereditor-validate";
+}
Property changes on: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.css
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Added: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.jaxx
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.jaxx (rev 0)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2.jaxx 2014-02-12 14:36:52 UTC (rev 2794)
@@ -0,0 +1,73 @@
+<JPanel id='editorPanel' layout='{new BorderLayout()}'
+ onFocusGained='editor.requestFocus()'
+ onFocusLost='handler.setPopupVisible(false);popup.setVisible(false);'
+ onMouseExited='handler.setPopupVisible(false);popup.setVisible(false);'>
+ <import>
+ java.io.Serializable
+ java.awt.BorderLayout
+ java.awt.Color
+ java.awt.BorderLayout
+ java.awt.GridLayout
+ java.awt.Dimension
+
+ javax.swing.JFormattedTextField
+ javax.swing.BorderFactory
+ </import>
+
+ <!-- show reset property -->
+ <Boolean id='showReset' javaBean='false'/>
+
+ <!-- show reset tip -->
+ <String id='showResetTip' javaBean=''/>
+
+ <!-- model -->
+ <NumberEditor2Model id='model'/>
+
+ <script><![CDATA[
+public void init() { handler.init(); }
+public void setBean(Serializable bean) { model.setBean(bean); }
+public void setBeanProperty(String beanProperty) { model.setBeanProperty(beanProperty); }
+public void setValue(Number value) { handler.setValue(value, true); }
+]]>
+ </script>
+
+ <!-- popup digital number editor -->
+ <JPopupMenu id='popup'
+ onPopupMenuWillBecomeVisible='showPopUpButton.setSelected(true)'
+ onPopupMenuWillBecomeInvisible='showPopUpButton.setSelected(false)'
+ onPopupMenuCanceled='showPopUpButton.setSelected(false)'>
+ <JPanel id='popupPanel' layout='{new GridLayout(4,4)}'>
+
+ <JButton id='padTouch7' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch8' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch9' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouchClearAll' styleClass='clear' onActionPerformed='handler.setModel(null)'/>
+
+ <JButton id='padTouch4' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch5' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch6' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouchClearOne' styleClass='clear' onActionPerformed='handler.removeChar()' />
+
+ <JButton id='padTouch1' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch2' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouch3' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton enabled="false"/>
+
+ <JButton id='padTouch0' styleClass='digit' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padTouchSign' styleClass='operator' onActionPerformed='handler.toggleSign()'/>
+ <JButton id='padTouchDot' styleClass='operator' onActionPerformed='handler.addChar(event)'/>
+ <JButton id='padValidate' onActionPerformed="handler.validate()"/>
+ </JPanel>
+ </JPopupMenu>
+
+ <JToolBar id='toolbarLeft' constraints='BorderLayout.WEST'>
+ <JButton id='resetButton' onActionPerformed='handler.resetEditor()'/>
+ </JToolBar>
+ <JFormattedTextField id='editor' constraints='BorderLayout.CENTER'
+ onKeyReleased='handler.onKeyReleased(event)'/>
+
+ <JToolBar id='toolbarRight' constraints='BorderLayout.EAST'>
+ <JToggleButton id='showPopUpButton'
+ onActionPerformed='handler.setPopupVisible(!popup.isVisible())'/>
+ </JToolBar>
+</JPanel>
\ No newline at end of file
Added: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Handler.java
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Handler.java (rev 0)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Handler.java 2014-02-12 14:36:52 UTC (rev 2794)
@@ -0,0 +1,301 @@
+package jaxx.runtime.swing.editor;
+
+import com.google.common.base.Preconditions;
+import jaxx.runtime.spi.UIHandler;
+import jaxx.runtime.swing.editor.bean.BeanUIUtil;
+import jaxx.runtime.swing.editor.gis.DmdCoordinate;
+import jaxx.runtime.swing.editor.gis.DmdCoordinateConverter;
+import jaxx.runtime.swing.editor.gis.MaskFormatterFromConverter;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.swing.JButton;
+import javax.swing.JComponent;
+import javax.swing.JFormattedTextField;
+import javax.swing.SwingUtilities;
+import javax.swing.text.BadLocationException;
+import javax.swing.text.DefaultFormatterFactory;
+import java.awt.Dimension;
+import java.awt.event.ActionEvent;
+import java.awt.event.KeyEvent;
+import java.awt.event.MouseAdapter;
+import java.awt.event.MouseEvent;
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
+import java.lang.reflect.Method;
+import java.text.ParseException;
+
+/**
+ * Created on 2/11/14.
+ *
+ * @author Tony Chemit <chemit(a)codelutin.com>
+ * @since 2.8.1
+ */
+public class NumberEditor2Handler implements UIHandler<NumberEditor2> {
+
+ /** Logger. */
+ private static final Log log = LogFactory.getLog(NumberEditor2Handler.class);
+
+ protected NumberEditor2 ui;
+
+ protected JFormattedTextField editor;
+
+ protected DmdCoordinateConverter signedConverter;
+
+ protected DmdCoordinateConverter unsignedConverter;
+
+ protected DefaultFormatterFactory signedFormatterFactory;
+
+ protected DefaultFormatterFactory unsignedFormatterFactory;
+
+ /** the mutator method on the property of boxed bean in the editor */
+ protected Method mutator;
+
+ /** the getter method on the property */
+ protected Method getter;
+
+ /** a flag to known if mutator accept null value */
+ protected Boolean acceptNull;
+
+ protected NumberEditor2Model model;
+
+ protected String lastValidText;
+
+ @Override
+ public void beforeInit(NumberEditor2 ui) {
+ this.ui = ui;
+ }
+
+ @Override
+ public void afterInit(NumberEditor2 ui) {
+ this.model = ui.getModel();
+ this.editor = ui.getEditor();
+
+ }
+
+ public void init() {
+
+ Preconditions.checkNotNull(model.getBean(), "could not find bean in " + model);
+ Preconditions.checkNotNull(model.getBeanProperty(), "could not find beanProperty in " + model);
+ Preconditions.checkNotNull(model.getNumberType(), "could not find numberType in " + model);
+
+ Object bean = model.getBean();
+ mutator = BeanUIUtil.getMutator(bean, model.getBeanProperty());
+ Preconditions.checkNotNull(mutator, "could not find mutator for " + model.getBeanProperty());
+
+ {
+ // prepare unsigned formatter factory
+ String pattern = getMaskFormatterPattern(false);
+ MaskFormatterFromConverter<DmdCoordinate> maskFormatter;
+ try {
+ maskFormatter = MaskFormatterFromConverter.newFormatter(
+ DmdCoordinate.class,
+ pattern, unsignedConverter);
+ maskFormatter.setValidCharacters(" 01234567890.");
+ maskFormatter.setCommitsOnValidEdit(true);
+ unsignedFormatterFactory = new DefaultFormatterFactory(maskFormatter);
+ } catch (ParseException e) {
+ // can't happen here
+ throw new RuntimeException(e);
+ }
+ }
+ {
+ // prepare signed formatter factory
+ String pattern = getMaskFormatterPattern(true);
+ MaskFormatterFromConverter<DmdCoordinate> maskFormatter;
+ try {
+ maskFormatter = MaskFormatterFromConverter.newFormatter(
+ DmdCoordinate.class,
+ pattern, signedConverter);
+ maskFormatter.setValidCharacters(" 01234567890.");
+ maskFormatter.setCommitsOnValidEdit(true);
+ signedFormatterFactory = new DefaultFormatterFactory(maskFormatter);
+ } catch (ParseException e) {
+ // can't happen here
+ throw new RuntimeException(e);
+ }
+ }
+
+// JFormattedTextField editor = ui.getEditor();
+// editor.setFormatterFactory(model.isSign() ?
+// signedFormatterFactory :
+// unsignedFormatterFactory);
+// editor.setFocusLostBehavior(JFormattedTextField.COMMIT);
+//
+// // When editor changes his value, propagate it to model
+// editor.addPropertyChangeListener("value", new PropertyChangeListener() {
+// @Override
+// public void propertyChange(PropertyChangeEvent evt) {
+// DmdCoordinate newValue = (DmdCoordinate) evt.getNewValue();
+// if (log.isDebugEnabled()) {
+// log.debug("Value has changed: " + newValue);
+// }
+// model.setValue(newValue);
+// }
+// });
+ }
+
+ public void setModel(Object model) {
+
+ }
+
+ /**
+ * Ajoute le caractère donné à l'endroit où est le curseur dans la zone de
+ * saisie et met à jour le modèle.
+ *
+ * @param s le caractère à ajouter.
+ */
+ void addChar(String s) {
+ char c = s.charAt(0);
+ try {
+ editor.getDocument().insertString(editor.getCaretPosition(), c + "", null);
+// setModel(editor.getText());
+ //setModel(editor.getModelText() + c);
+
+ } catch (BadLocationException e) {
+ log.warn(e);
+ }
+ }
+
+ /**
+ * Supprime le caractère juste avant le curseur du modèle (textuel) et
+ * met à jour la zone de saisie.
+ */
+ public void removeChar() {
+// String s = editor.getModelText();
+// int position = editor.getCaretPosition();
+// if (position < 1 || s.isEmpty()) {
+// if (log.isDebugEnabled()) {
+// log.debug("cannot remove when caret on first position or text empty");
+// }
+// // on est au debut du doc, donc rien a faire
+// return;
+// }
+// try {
+// editor.getDocument().remove(position - 1, 1);
+// } catch (BadLocationException ex) {
+// // ne devrait jamais arrive vu qu'on a fait le controle...
+// log.debug(ex);
+// return;
+// }
+// String newText = editor.getText();
+// if (log.isDebugEnabled()) {
+// log.debug("text updated : " + newText);
+// }
+// position--;
+// editor.setCaretPosition(position);
+// setModel(newText);
+ }
+
+ /**
+ * Permute le signe dans la zone de saisie et
+ * dans le modèle.
+ */
+ public void toggleSign() {
+// // change sign
+// String newValue = editor.getModelText();
+//
+// if (newValue.startsWith("-")) {
+// setModel(newValue.substring(1));
+// } else {
+// setModel("-" + newValue);
+// }
+ }
+
+ void addChar(ActionEvent event) {
+ String text = ((JButton) event.getSource()).getText();
+ addChar(text);
+ }
+
+ /**
+ * Affiche ou cache la popup.
+ *
+ * @param newValue la nouvelle valeur de visibilité de la popup.
+ */
+ public void setPopupVisible(Boolean newValue) {
+
+ if (log.isTraceEnabled()) {
+ log.trace(newValue);
+ }
+
+ if (newValue == null || !newValue) {
+ ui.getPopup().setVisible(false);
+ return;
+ }
+ SwingUtilities.invokeLater(new Runnable() {
+
+ @Override
+ public void run() {
+ JComponent invoker =
+ model.isShowPopup() ?
+ ui.getShowPopUpButton() :
+ ui;
+ Dimension dim = ui.getPopup().getPreferredSize();
+ int x = (int) (invoker.getPreferredSize().getWidth() - dim.getWidth());
+ ui.getPopup().show(invoker, x, invoker.getHeight());
+ ui.getEditor().requestFocus();
+ }
+ });
+ }
+
+ protected String getMaskFormatterPattern(boolean useSign) {
+ String pattern = "############";
+ if (useSign) {
+ pattern = "-" + pattern;
+ }
+ return pattern;
+ }
+
+ public void validate() {
+ //TODO
+ }
+
+ public void resetEditor() {
+ //TODO
+ }
+
+ public void onKeyReleased(KeyEvent event) {
+ //TODO
+ }
+
+ public void setValue(Number value, boolean b) {
+ //TODO
+ }
+
+ protected class PopupListener extends MouseAdapter {
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ maybeShowPopup(e);
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ maybeShowPopup(e);
+ }
+
+ protected void maybeShowPopup(MouseEvent e) {
+ if (!e.isPopupTrigger()) {
+ return;
+ }
+ if (model.isAutoPopup()) {
+ if (model.isPopupVisible()) {
+ if (!ui.getPopup().isVisible()) {
+ setPopupVisible(true);
+ }
+ // popup already visible
+
+ } else {
+ // set popup auto
+ model.setPopupVisible(true);
+
+ }
+ } else {
+ if (model.isPopupVisible()) {
+ setPopupVisible(true);
+ }
+ }
+ }
+
+ }
+}
Property changes on: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Handler.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Added: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Model.java
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Model.java (rev 0)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Model.java 2014-02-12 14:36:52 UTC (rev 2794)
@@ -0,0 +1,174 @@
+package jaxx.runtime.swing.editor;
+
+import org.jdesktop.beans.AbstractSerializableBean;
+
+import java.util.regex.Pattern;
+
+/**
+ * Created on 2/11/14.
+ *
+ * @author Tony Chemit <chemit(a)codelutin.com>
+ * @since 2.8.1
+ */
+public class NumberEditor2Model extends AbstractSerializableBean {
+
+ public static final String PROPERTY_BEAN = "bean";
+
+ public static final String PROPERTY_BEAN_PROPERTY = "beanProperty";
+
+ public static final String PROPERTY_NUMBER_TYPE = "numberType";
+
+ public static final String PROPERTY_NUMBER_PATTERN = "numberPattern";
+
+ public static final String PROPERTY_USE_SIGN = "useSign";
+
+ public static final String PROPERTY_SHOW_RESET = "showReset";
+
+ public static final String PROPERTY_SHOW_POPUP = "showPopup";
+
+ public static final String PROPERTY_AUTO_POPUP = "autoPopup";
+
+ public static final String PROPERTY_MODEL = "model";
+
+ public static final String PROPERTY_MODEL_TEXT = "modelText";
+
+ public static final String PROPERTY_POPUP_VISIBLE = "popupVisible";
+
+ public static final String PROPERTY_SELECT_ALL_TEXT_ON_ERROR = "selectAllTextOnError";
+
+ public static final String PROPERTY_SHOW_RESET_TIP = "showResetTip";
+
+ private static final long serialVersionUID = 1L;
+
+ protected Object bean;
+
+ protected String beanProperty;
+
+ protected Class<? extends Number> numberType;
+
+ protected Pattern numberPattern;
+
+ protected boolean useSign;
+
+ protected boolean showReset;
+
+ protected boolean showPopup;
+
+ protected boolean autoPopup;
+
+ protected boolean selectAllTextOnError;
+
+ protected boolean popupVisible;
+
+ private String showResetTip;
+
+ public Object getBean() {
+ return bean;
+ }
+
+ public String getBeanProperty() {
+ return beanProperty;
+ }
+
+ public Class<? extends Number> getNumberType() {
+ return numberType;
+ }
+
+ public Pattern getNumberPattern() {
+ return numberPattern;
+ }
+
+ public boolean isUseSign() {
+ return useSign;
+ }
+
+ public boolean isShowReset() {
+ return showReset;
+ }
+
+ public boolean isShowPopup() {
+ return showPopup;
+ }
+
+ public boolean isAutoPopup() {
+ return autoPopup;
+ }
+
+ public boolean isSelectAllTextOnError() {
+ return selectAllTextOnError;
+ }
+
+ public boolean isPopupVisible() {
+ return popupVisible;
+ }
+
+ public String getShowResetTip() {
+ return showResetTip;
+ }
+
+ public void setBean(Object bean) {
+ Object oldValue = getBean();
+ this.bean = bean;
+ firePropertyChange(PROPERTY_BEAN, oldValue, bean);
+ }
+
+ public void setBeanProperty(String beanProperty) {
+ Object oldValue = getBeanProperty();
+ this.beanProperty = beanProperty;
+ firePropertyChange(PROPERTY_BEAN_PROPERTY, oldValue, beanProperty);
+ }
+
+ public void setNumberType(Class<? extends Number> numberType) {
+ Object oldValue = getNumberType();
+ this.numberType = numberType;
+ firePropertyChange(PROPERTY_NUMBER_TYPE, oldValue, numberType);
+ }
+
+ public void setNumberPattern(Pattern numberPattern) {
+ Object oldValue = getNumberPattern();
+ this.numberPattern = numberPattern;
+ firePropertyChange(PROPERTY_NUMBER_PATTERN, oldValue, numberPattern);
+ }
+
+ public void setUseSign(boolean useSign) {
+ Object oldValue = isUseSign();
+ this.useSign = useSign;
+ firePropertyChange(PROPERTY_USE_SIGN, oldValue, useSign);
+ }
+
+ public void setShowReset(boolean showReset) {
+ Object oldValue = isShowReset();
+ this.showReset = showReset;
+ firePropertyChange(PROPERTY_SHOW_RESET, oldValue, showReset);
+ }
+
+ public void setShowPopup(boolean showPopup) {
+ Object oldValue = isShowPopup();
+ this.showPopup = showPopup;
+ firePropertyChange(PROPERTY_SHOW_POPUP, oldValue, showPopup);
+ }
+
+ public void setAutoPopup(boolean autoPopup) {
+ Object oldValue = isAutoPopup();
+ this.autoPopup = autoPopup;
+ firePropertyChange(PROPERTY_AUTO_POPUP, oldValue, autoPopup);
+ }
+
+ public void setSelectAllTextOnError(boolean selectAllTextOnError) {
+ Object oldValue = isSelectAllTextOnError();
+ this.selectAllTextOnError = selectAllTextOnError;
+ firePropertyChange(PROPERTY_SELECT_ALL_TEXT_ON_ERROR, oldValue, selectAllTextOnError);
+ }
+
+ public void setPopupVisible(boolean popupVisible) {
+ Object oldValue = isPopupVisible();
+ this.popupVisible = popupVisible;
+ firePropertyChange(PROPERTY_POPUP_VISIBLE, oldValue, popupVisible);
+ }
+
+ public void setShowResetTip(String showResetTip) {
+ Object oldValue = getShowResetTip();
+ this.showResetTip = showResetTip;
+ firePropertyChange(PROPERTY_SHOW_RESET_TIP, oldValue, showResetTip);
+ }
+}
Property changes on: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditor2Model.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Modified: trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_en_GB.properties
===================================================================
--- trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_en_GB.properties 2014-02-12 14:36:31 UTC (rev 2793)
+++ trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_en_GB.properties 2014-02-12 14:36:52 UTC (rev 2794)
@@ -94,7 +94,11 @@
numbereditor.9=9
numbereditor.action.reset.tip=Reset
numbereditor.action.show.tip=Show numeric panel
+numbereditor.cleanAll=
+numbereditor.cleanOne=
numbereditor.clearAll=C
numbereditor.clearOne=CE
+numbereditor.dot=
+numbereditor.sign=
numbereditor.toggleSign=+/-
timeeditor.H=H
Modified: trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_es_ES.properties
===================================================================
--- trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_es_ES.properties 2014-02-12 14:36:31 UTC (rev 2793)
+++ trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_es_ES.properties 2014-02-12 14:36:52 UTC (rev 2794)
@@ -94,7 +94,11 @@
numbereditor.9=9
numbereditor.action.reset.tip=Reinicializar
numbereditor.action.show.tip=Mostar el teclado numérico
+numbereditor.cleanAll=
+numbereditor.cleanOne=
numbereditor.clearAll=C
numbereditor.clearOne=CE
+numbereditor.dot=
+numbereditor.sign=
numbereditor.toggleSign=+/-
timeeditor.H=H
Modified: trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_fr_FR.properties
===================================================================
--- trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_fr_FR.properties 2014-02-12 14:36:31 UTC (rev 2793)
+++ trunk/jaxx-widgets/src/main/resources/i18n/jaxx-widgets_fr_FR.properties 2014-02-12 14:36:52 UTC (rev 2794)
@@ -94,7 +94,11 @@
numbereditor.9=9
numbereditor.action.reset.tip=Réinitialiser
numbereditor.action.show.tip=Afficher le pavé numérique
+numbereditor.cleanAll=
+numbereditor.cleanOne=
numbereditor.clearAll=C
numbereditor.clearOne=CE
+numbereditor.dot=
+numbereditor.sign=
numbereditor.toggleSign=+/-
timeeditor.H=H
1
0
r2793 - trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/gis
by tchemit@users.nuiton.org Feb. 12, 2014
by tchemit@users.nuiton.org Feb. 12, 2014
Feb. 12, 2014
Author: tchemit
Date: 2014-02-12 15:36:31 +0100 (Wed, 12 Feb 2014)
New Revision: 2793
Url: http://nuiton.org/projects/jaxx/repository/revisions/2793
Log:
remove commented code
Modified:
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/gis/DmdCoordinateEditorHandler.java
Modified: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/gis/DmdCoordinateEditorHandler.java
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/gis/DmdCoordinateEditorHandler.java 2014-02-12 14:36:08 UTC (rev 2792)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/gis/DmdCoordinateEditorHandler.java 2014-02-12 14:36:31 UTC (rev 2793)
@@ -44,7 +44,7 @@
* @author Tony Chemit <chemit(a)codelutin.com>
* @since 2.6
*/
-public class DmdCoordinateEditorHandler implements UIHandler<DmdCoordinateEditor>{
+public class DmdCoordinateEditorHandler implements UIHandler<DmdCoordinateEditor> {
/** Logger. */
private static final Log log =
@@ -64,7 +64,7 @@
protected boolean valueModelIsAdjusting;
- protected DmdCoordinateConverter signedConverter;
+ protected DmdCoordinateConverter signedConverter;
protected DmdCoordinateConverter unsignedConverter;
@@ -72,18 +72,9 @@
protected DefaultFormatterFactory unsignedFormatterFactory;
-// public DmdCoordinateEditorHandler(DmdCoordinateEditor ui) {
-// this.ui = ui;
-//
-// // can't use the one from ConverterUtil since we deal with some internal states
-// this.signedConverter = new DmdCoordinateConverter();
-// this.signedConverter.setUseSign(true);
-// this.unsignedConverter = new DmdCoordinateConverter();
-// }
-
@Override
public void beforeInit(DmdCoordinateEditor ui) {
- this.ui=ui;
+ this.ui = ui;
// can't use the one from ConverterUtil since we deal with some internal states
this.signedConverter = new DmdCoordinateConverter();
this.signedConverter.setUseSign(true);
1
0
r2792 - in trunk: jaxx-runtime/src/main/java/jaxx/runtime/swing/model jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean
by tchemit@users.nuiton.org Feb. 12, 2014
by tchemit@users.nuiton.org Feb. 12, 2014
Feb. 12, 2014
Author: tchemit
Date: 2014-02-12 15:36:08 +0100 (Wed, 12 Feb 2014)
New Revision: 2792
Url: http://nuiton.org/projects/jaxx/repository/revisions/2792
Log:
fixes #3075: Add option to select in a FilterableComboBox with enter key whene there is a unique resultSet
Modified:
trunk/jaxx-runtime/src/main/java/jaxx/runtime/swing/model/JaxxFilterableComboBoxModel.java
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBox.jaxx
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBoxHandler.java
Modified: trunk/jaxx-runtime/src/main/java/jaxx/runtime/swing/model/JaxxFilterableComboBoxModel.java
===================================================================
--- trunk/jaxx-runtime/src/main/java/jaxx/runtime/swing/model/JaxxFilterableComboBoxModel.java 2014-02-11 11:23:41 UTC (rev 2791)
+++ trunk/jaxx-runtime/src/main/java/jaxx/runtime/swing/model/JaxxFilterableComboBoxModel.java 2014-02-12 14:36:08 UTC (rev 2792)
@@ -31,6 +31,8 @@
import java.util.List;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.nuiton.decorator.JXPathDecorator;
/**
@@ -43,8 +45,11 @@
private static final long serialVersionUID = 1L;
- protected ArrayList<E> filteredItems = Lists.newArrayList();
+ /** Logger. */
+ private static final Log log = LogFactory.getLog(JaxxFilterableComboBoxModel.class);
+ protected List<E> filteredItems = Lists.newArrayList();
+
protected String filterText;
/** the decorator of data */
@@ -175,14 +180,12 @@
filteredItems.addAll(delegate);
} else {
- int itemNumber = delegate.size();
Pattern pattern = null;
if (!StringUtils.isBlank(filterText)) {
String patternText = Pattern.quote(filterText).replace("*", "\\E.*\\Q") + ".*";
pattern = Pattern.compile(patternText, Pattern.CASE_INSENSITIVE);
}
- for (int i = 0 ; i < itemNumber ; i++) {
- E element = delegate.get(i);
+ for (E element : delegate) {
boolean addElement = true;
for (Predicate<E> filter : filters) {
addElement &= filter.apply(element);
@@ -194,13 +197,17 @@
decoratedElement = String.valueOf(element);
}
boolean matches = pattern == null
- || pattern.matcher(decoratedElement).matches();
+ || pattern.matcher(decoratedElement).matches();
if (matches && addElement) {
filteredItems.add(element);
}
}
}
+ if (log.isInfoEnabled()) {
+ log.info("After refilter, nb items: "+getSize());
+ }
+
fireContentsChanged(this, 0, getSize());
}
}
Modified: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBox.jaxx
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBox.jaxx 2014-02-11 11:23:41 UTC (rev 2791)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBox.jaxx 2014-02-12 14:36:08 UTC (rev 2792)
@@ -54,6 +54,9 @@
<!-- sortable combo property -->
<Boolean id='sortable' javaBean='true'/>
+ <!-- to select using enter key when there is only one selection -->
+ <Boolean id='enterToSelectUniqueUniverse' javaBean='true'/>
+
<!-- bean property linked state -->
<String id='property' javaBean='""'/>
Modified: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBoxHandler.java
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBoxHandler.java 2014-02-11 11:23:41 UTC (rev 2791)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/bean/BeanFilterableComboBoxHandler.java 2014-02-12 14:36:08 UTC (rev 2792)
@@ -24,7 +24,6 @@
*/
package jaxx.runtime.swing.editor.bean;
-import com.google.common.base.Predicate;
import jaxx.runtime.JAXXUtil;
import jaxx.runtime.SwingUtil;
import jaxx.runtime.swing.JAXXButtonGroup;
@@ -193,18 +192,65 @@
@Override
public void keyPressed(KeyEvent e) {
- if (ui.isEnabled() && !combobox.isPopupVisible()) {
- combobox.showPopup();
+ if (!ui.isEnabled()) {
+ e.consume();
+ return;
}
+ if (log.isDebugEnabled()) {
+ log.debug("keyPressed: " + e.getKeyCode());
+ }
+ if (combobox.isPopupVisible() && ui.isEnterToSelectUniqueUniverse()) {
+ if (KeyEvent.VK_ENTER == e.getKeyCode() && combobox.getItemCount() == 1) {
+ // we don't want any other action for this one
+ if (log.isDebugEnabled()) {
+ log.debug("ENTER + only one selected item, consume");
+ }
+ combobox.hidePopup();
+ e.consume();
+ return;
+ }
+ }
}
@Override
public void keyReleased(KeyEvent e) {
+ if (log.isDebugEnabled()) {
+ log.debug("keyReleased: " + e.getKeyCode());
+ }
+ if (combobox.isPopupVisible() && KeyEvent.VK_ESCAPE == e.getKeyCode()) {
+ if (log.isDebugEnabled()) {
+ log.debug("ESC , hide popup");
+ }
+ e.consume();
+ combobox.hidePopup();
+ return;
+ }
+ if (!combobox.isPopupVisible() && KeyEvent.VK_ESCAPE != e.getKeyCode() && KeyEvent.VK_ENTER != e.getKeyCode()) {
+ if (log.isDebugEnabled()) {
+ log.debug("Will show popup, keycode: " + e.getKeyCode());
+ }
+ combobox.showPopup();
+ }
// if the typed text does not match the selected item,
// set the selected item to null
Object selectedItem = ui.getSelectedItem();
String text = editor.getEditorComponent().getText();
- String selectedItemString;
+ if (log.isDebugEnabled()) {
+ log.debug("keycode: " + e.getKeyCode() + ", editorText: " + text);
+ }
+ if (KeyEvent.VK_ENTER == e.getKeyCode() && ui.isEnterToSelectUniqueUniverse() && combobox.getItemCount() == 1) {
+
+ // auto-select the
+ if (log.isDebugEnabled()) {
+ log.debug("Auto-select unique result with *ENTER* key");
+ }
+ combobox.setSelectedIndex(0);
+ e.consume();
+ // edition is done
+ combobox.hidePopup();
+ return;
+ }
+ final String selectedItemString;
if (getBeanType().isInstance(selectedItem)) {
selectedItemString = BeanFilterableComboBoxHandler.this.decorator.toString(selectedItem);
} else {
@@ -477,7 +523,7 @@
List<O> data = ui.getData();
- if (ui.isSortable()) {
+ if (ui.isSortable() && CollectionUtils.isNotEmpty(data)) {
try {
// Sort data with the decorator jxpath tokens.
DecoratorUtil.sort(decorator,
@@ -679,20 +725,4 @@
wrapped.removeActionListener(l);
}
}
-
- public void addFilter(Predicate<O> filter) {
- ((JaxxFilterableComboBoxModel) ui.getCombobox().getModel()).addFilter(filter);
- }
-
- public void removeFilter(Predicate<O> filter) {
- ((JaxxFilterableComboBoxModel) ui.getCombobox().getModel()).removeFilter(filter);
- }
-
- public void clearFilters() {
- ((JaxxFilterableComboBoxModel) ui.getCombobox().getModel()).clearFilters();
- }
-
- public void refreshFilteredElements() {
- ((JaxxFilterableComboBoxModel) ui.getCombobox().getModel()).refreshFilteredElements();
- }
}
1
0
r2791 - in trunk: . jaxx-application-api jaxx-application-swing jaxx-compiler jaxx-config jaxx-demo jaxx-maven-plugin jaxx-runtime jaxx-validator jaxx-widgets
by tchemit@users.nuiton.org Feb. 11, 2014
by tchemit@users.nuiton.org Feb. 11, 2014
Feb. 11, 2014
Author: tchemit
Date: 2014-02-11 12:23:41 +0100 (Tue, 11 Feb 2014)
New Revision: 2791
Url: http://nuiton.org/projects/jaxx/repository/revisions/2791
Log:
prepare version 2.8.1
Modified:
trunk/jaxx-application-api/pom.xml
trunk/jaxx-application-swing/pom.xml
trunk/jaxx-compiler/pom.xml
trunk/jaxx-config/pom.xml
trunk/jaxx-demo/pom.xml
trunk/jaxx-maven-plugin/pom.xml
trunk/jaxx-runtime/pom.xml
trunk/jaxx-validator/pom.xml
trunk/jaxx-widgets/pom.xml
trunk/pom.xml
Modified: trunk/jaxx-application-api/pom.xml
===================================================================
--- trunk/jaxx-application-api/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-application-api/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -27,7 +27,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-application-swing/pom.xml
===================================================================
--- trunk/jaxx-application-swing/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-application-swing/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -27,7 +27,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-compiler/pom.xml
===================================================================
--- trunk/jaxx-compiler/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-compiler/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-config/pom.xml
===================================================================
--- trunk/jaxx-config/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-config/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -31,7 +31,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-demo/pom.xml
===================================================================
--- trunk/jaxx-demo/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-demo/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-maven-plugin/pom.xml
===================================================================
--- trunk/jaxx-maven-plugin/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-maven-plugin/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -31,7 +31,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime/pom.xml
===================================================================
--- trunk/jaxx-runtime/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-runtime/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-validator/pom.xml
===================================================================
--- trunk/jaxx-validator/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-validator/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-widgets/pom.xml
===================================================================
--- trunk/jaxx-widgets/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/jaxx-widgets/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -31,7 +31,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2014-02-11 11:23:30 UTC (rev 2790)
+++ trunk/pom.xml 2014-02-11 11:23:41 UTC (rev 2791)
@@ -34,7 +34,7 @@
</parent>
<artifactId>jaxx</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>2.8.1-SNAPSHOT</version>
<modules>
<module>jaxx-runtime</module>
1
0
r2790 - trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor
by tchemit@users.nuiton.org Feb. 11, 2014
by tchemit@users.nuiton.org Feb. 11, 2014
Feb. 11, 2014
Author: tchemit
Date: 2014-02-11 12:23:30 +0100 (Tue, 11 Feb 2014)
New Revision: 2790
Url: http://nuiton.org/projects/jaxx/repository/revisions/2790
Log:
fixes #3073: NumberEditor does not support Double modelType
Modified:
trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditorHandler.java
Modified: trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditorHandler.java
===================================================================
--- trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditorHandler.java 2014-02-04 11:18:11 UTC (rev 2789)
+++ trunk/jaxx-widgets/src/main/java/jaxx/runtime/swing/editor/NumberEditorHandler.java 2014-02-11 11:23:30 UTC (rev 2790)
@@ -302,7 +302,7 @@
// on a un nombre valide
try {
- Float f = Float.parseFloat(s);
+ Double f = Double.parseDouble(s);
if (!editor.isUseSign() && s.startsWith("-")) {
if (log.isDebugEnabled()) {
log.debug("will skip since can not allow sign on this editor but was " + f);
@@ -382,13 +382,10 @@
}
}
- private Number getRealValue(Float f) {
+ private Number getRealValue(Double f) {
if (modelType == Integer.class) {
return f.intValue();
}
- if (modelType == Float.class) {
- return f;
- }
if (modelType == Double.class) {
return f;
}
@@ -401,9 +398,8 @@
if (modelType == BigDecimal.class) {
return new BigDecimal(f + "");
}
- if (editor.isUseFloat()) {
- // use default float value
- return f;
+ if (modelType == Float.class || editor.isUseFloat()) {
+ return f.floatValue();
}
return f.intValue();
}
@@ -506,7 +502,7 @@
if (newValue == null && !getAcceptNull()) {
// valeur nulle sur une propriete primitive
// on ne peut pas utiliser la valeur null, mais 0 à la place
- newValue = getRealValue(0.0f);
+ newValue = getRealValue(0.0d);
// if (editor.isUseFloat()) {
// if (log.isInfoEnabled()) {
// log.info("use float, check mutator default type = " + mutator.getParameterTypes()[0]);
1
0
See <http://ci-ng.nuiton.org/jenkins/job/jaxx/16/>
------------------------------------------
[...truncated 7207 lines...]
[INFO] <<< i18n-maven-plugin:3.0:bundle (default) @ jaxx-demo <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.0:bundle (default) @ jaxx-demo ---
[INFO] config - resources dir : <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] config - package name : META-INF
[INFO] config - bundle name : jaxx-demo-i18n
[INFO] config - input encoding : UTF-8
[INFO] config - output encoding : UTF-8
[INFO] config - locales : [fr_FR, en_GB, es_ES]
[INFO] config - version : 3.0
[INFO] generate bundle for locale fr_FR from 7 i18n resource(s)
[INFO] i18n/nuiton-utils_fr_FR.properties
[INFO] i18n/nuiton-validator_fr_FR.properties
[INFO] i18n/jaxx-runtime_fr_FR.properties
[INFO] i18n/jaxx-widgets_fr_FR.properties
[INFO] i18n/jaxx-validator_fr_FR.properties
[INFO] i18n/jaxx-config_fr_FR.properties
[INFO] i18n/jaxx-demo_fr_FR.properties
[WARNING] bundle fr_FR contains 67/500 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO] generate bundle for locale en_GB from 7 i18n resource(s)
[INFO] i18n/nuiton-utils_en_GB.properties
[INFO] i18n/nuiton-validator_en_GB.properties
[INFO] i18n/jaxx-runtime_en_GB.properties
[INFO] i18n/jaxx-widgets_en_GB.properties
[INFO] i18n/jaxx-validator_en_GB.properties
[INFO] i18n/jaxx-config_en_GB.properties
[INFO] i18n/jaxx-demo_en_GB.properties
[WARNING] bundle en_GB contains 167/505 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO] generate bundle for locale es_ES from 6 i18n resource(s)
[INFO] i18n/nuiton-utils_es_ES.properties
[INFO] i18n/nuiton-validator_es_ES.properties
[INFO] i18n/jaxx-widgets_es_ES.properties
[INFO] i18n/jaxx-validator_es_ES.properties
[INFO] i18n/jaxx-config_es_ES.properties
[INFO] i18n/jaxx-demo_es_ES.properties
[WARNING] bundle es_ES contains 145/508 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO] prepare i18n definition file in <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jaxx-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 45 resources
[INFO] Copying 108 resources
[INFO] Copying 4 resources
[INFO] Copying 4 resources
[INFO]
[INFO] --- license-maven-plugin:1.6:update-file-header (update-file-header) @ jaxx-demo ---
[INFO] Will search files to update from root <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/src>
[INFO] Will search files to update from root <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] - adding license header on file <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/generate…>
[INFO] Scan 179 files header done in 1.236s.
[INFO]
* uptodate header on 124 files.
* add header on 55 files.
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jaxx-demo ---
[INFO] Compiling 94 source files to <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/classes>
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/src/main/java/j…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/src/main/java/j…>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.10:check (default) @ jaxx-demo ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) @ jaxx-demo ---
[INFO] Skipping goal (runOnce flag is on, and was already executed).
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (generate-surefire-workdir) @ jaxx-demo ---
[INFO] Executing tasks
main:
[mkdir] Created dir: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/surefire…>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jaxx-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jaxx-demo ---
[INFO] Compiling 1 source file to <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/test-cla…>
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ jaxx-demo ---
[INFO] Surefire report directory: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/surefire…>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running jaxx.demo.BeanValidatorDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.962 sec - in jaxx.demo.BeanValidatorDetectorTest
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jaxx-demo ---
[INFO] Building jar: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/jaxx-dem…>
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ jaxx-demo >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ jaxx-demo ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:check-auto-container (check-central-safe) @ jaxx-demo ---
[INFO] Will use repository http://repo1.maven.org/maven2/
[INFO] Will use repository http://maven.nuiton.org/central-releases
[WARNING] Skip SNAPSHOT dependency : org.nuiton.jaxx:jaxx-runtime:3.0-SNAPSHOT
[WARNING] Skip SNAPSHOT dependency : org.nuiton.jaxx:jaxx-validator:3.0-SNAPSHOT
[WARNING] Skip SNAPSHOT dependency : org.nuiton.jaxx:jaxx-widgets:3.0-SNAPSHOT
[WARNING] Skip SNAPSHOT dependency : org.nuiton.jaxx:jaxx-config:3.0-SNAPSHOT
[WARNING] Skip SNAPSHOT dependency : org.nuiton.jaxx:jaxx-maven-plugin:3.0-SNAPSHOT
[INFO] Skipping goal (runOnce flag is on and goal was already executed).
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ jaxx-demo ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ jaxx-demo ---
[INFO] Skipping goal (runOnce flag is on and goal was already executed).
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ jaxx-demo <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ jaxx-demo ---
[INFO] Building jar: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/jaxx-dem…>
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ jaxx-demo ---
[INFO] Building jar: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/target/jaxx-dem…>
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-keystore) @ jaxx-demo ---
[INFO] Exporting server [codelutin-keystore] username in ${keyalias}
[INFO] Exporting server [codelutin-keystore] password in ${keystorepass}
[INFO] Exporting server [codelutin-keystore] passphrase in ${keypass}
[INFO] Exporting server [codelutin-keystore] privateKey in ${keystorepath}
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ jaxx-demo ---
[INFO]
[INFO] --- webstart-maven-plugin:1.0-beta-6:jnlp-single (generate-jnlp) @ jaxx-demo ---
[INFO] Directory does not exist <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-demo/src/main/jnlp/r…>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JAXX .............................................. SUCCESS [12.554s]
[INFO] JAXX :: Runtime ................................... SUCCESS [19.858s]
[INFO] JAXX :: Validator ................................. SUCCESS [17.652s]
[INFO] JAXX :: Compiler .................................. SUCCESS [15.648s]
[INFO] JAXX :: Maven plugin .............................. SUCCESS [15.862s]
[INFO] JAXX :: Widgets ................................... SUCCESS [20.376s]
[INFO] JAXX :: Config .................................... SUCCESS [8.294s]
[INFO] JAXX :: Application API ........................... SUCCESS [4.670s]
[INFO] JAXX :: Application Swing ......................... SUCCESS [8.727s]
[INFO] JAXX :: Demo ...................................... FAILURE [27.089s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:31.578s
[INFO] Finished at: Thu Feb 06 17:43:31 CET 2014
[INFO] Final Memory: 152M/1446M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-single (generate-jnlp) on project jaxx-demo: Could not obtain key store location at /var/local/forge/data/shared/maven/CodeLutinKeystore -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-single (generate-jnlp) on project jaxx-demo: Could not obtain key store location at /var/local/forge/data/shared/maven/CodeLutinKeystore
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not obtain key store location at /var/local/forge/data/shared/maven/CodeLutinKeystore
at org.codehaus.mojo.webstart.sign.SignConfig.init(SignConfig.java:188)
at org.codehaus.mojo.webstart.AbstractBaseJnlpMojo.signOrRenameJars(AbstractBaseJnlpMojo.java:673)
at org.codehaus.mojo.webstart.AbstractJnlpMojo.execute(AbstractJnlpMojo.java:286)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :jaxx-demo
Build step 'Invoke top-level Maven targets' marked build as failure
Skipping sonar analysis due to bad build status FAILURE
1
1
See <http://ci-ng.nuiton.org/jenkins/job/jaxx/13/changes>
Changes:
[Tony CHEMIT] fixes #3019: Use mavenpom 4.7
fixes #3038: updates nuiton-utils to 3.0-rc-2
fixes #3039: updates i18n to 3.0
fixes #3040: updates nuiton-validator to 3.0-alpha-2
fixes #3052: Updates nuiton-csv to 3.0-alpha-3
fixes #3053: Updates eugene to 2.7.4
------------------------------------------
[...truncated 419 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec - in org.nuiton.jaxx.plugin.Bug1404Test
Running org.nuiton.jaxx.plugin.Bug184Test
[INFO] Will check encoding : UTF-8
[INFO] adding source roots : <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>
[INFO] classpath : <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>
[INFO] includes : [**/bug184Test/*.jaxx]
[INFO] will parse org/nuiton/jaxx/plugin/bug184Test/MyPanel.jaxx
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 43.129ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec - in org.nuiton.jaxx.plugin.Bug184Test
Running org.nuiton.jaxx.plugin.Bug1722Test
[INFO] Detects 2 modified jaxx file(s).
[INFO] Generated 2 file(s) in 31.153ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec - in org.nuiton.jaxx.plugin.Bug1722Test
Running org.nuiton.jaxx.plugin.CompilerValidatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.nuiton.jaxx.plugin.CompilerValidatorTest
Running org.nuiton.jaxx.plugin.NodeItemTest
findChild
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.jaxx.plugin.NodeItemTest
Running org.nuiton.jaxx.plugin.Evolution74Test
[INFO] Detects 6 modified jaxx file(s).
[INFO] Generated 6 file(s) in 78.235ms
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec - in org.nuiton.jaxx.plugin.Evolution74Test
Running org.nuiton.jaxx.plugin.DecoratorTest
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 17.242ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in org.nuiton.jaxx.plugin.DecoratorTest
Running org.nuiton.jaxx.plugin.CompilerTest
[info] Detects 1 modified jaxx file(s).
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 13.824ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 26.926ms
[INFO] Detects 2 modified jaxx file(s).
[INFO] Generated 2 file(s) in 28.357ms
[INFO] Detects 7 modified jaxx file(s).
[INFO] Generated 7 file(s) in 98.413ms
[INFO] Will check encoding : UTF-8
[INFO] adding source roots : <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>
[INFO] classpath : <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>
[INFO] includes : [**/compilerTest/cSSTests/*.jaxx]
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/Child2.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/Pseudoclasses.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/GrandChild.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/GrandChildButton.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/CSSTests.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/SimpleCSS.jaxx
[INFO] will parse org/nuiton/jaxx/plugin/compilerTest/cSSTests/Child.jaxx
[INFO] Detects 7 modified jaxx file(s).
[INFO] Generated 7 file(s) in 295.061ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 58.939ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 12.007ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 11.37ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 10.002ms
[INFO] Nothing to generate - all files are up to date.
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 10.351ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 9.647ms
[INFO] Detects 2 modified jaxx file(s).
[INFO] Generated 2 file(s) in 16.437ms
[INFO] Detects 6 modified jaxx file(s).
[INFO] Generated 6 file(s) in 86.028ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 17.081ms
[INFO] Detects 3 modified jaxx file(s).
[INFO] Generated 3 file(s) in 56.056ms
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 37.607ms
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[warn] JAXX detects 1 warning :
<http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>:27
curly braces are unnecessary for script '{System.out.println("Remember kids, only use curly braces where appropriate!")}'
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
[info] Detects 1 modified jaxx file(s).
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.248 sec - in org.nuiton.jaxx.plugin.CompilerTest
Running org.nuiton.jaxx.plugin.Bug1751Test
[INFO] Detects 3 modified jaxx file(s).
[INFO] Generated 3 file(s) in 18.481ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in org.nuiton.jaxx.plugin.Bug1751Test
Running org.nuiton.jaxx.plugin.DataBindingTest
[INFO] Detects 1 modified jaxx file(s).
[INFO] Generated 1 file(s) in 67.931ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec - in org.nuiton.jaxx.plugin.DataBindingTest
Results :
Tests run: 31, Failures: 0, Errors: 0, Skipped: 1
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jaxx-maven-plugin ---
[INFO] Building jar: <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-maven-plugin/target/…>
[INFO]
[INFO] --- maven-plugin-plugin:3.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ jaxx-maven-plugin ---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ jaxx-maven-plugin ---
[JENKINS] Archiving disabled
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JAXX :: Widgets 2.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jaxx-widgets ---
[INFO] Deleting <http://ci-ng.nuiton.org/jenkins/job/jaxx/ws/trunk/jaxx-widgets/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ jaxx-widgets ---
[INFO]
[INFO] --- jaxx-maven-plugin:2.8-SNAPSHOT:generate (default) @ jaxx-widgets ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui… (0 B at 0.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui… (0 B at 0.0 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-config/3.0-alpha-2/nu…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/3.0-rc-2/nuiton…
[WARNING] Failed to getClass for org.nuiton.jaxx.plugin.GenerateMojo
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JAXX .............................................. SUCCESS [2.286s]
[INFO] JAXX :: Runtime ................................... SUCCESS [4.584s]
[INFO] JAXX :: Validator ................................. SUCCESS [6.315s]
[INFO] JAXX :: Compiler .................................. SUCCESS [5.033s]
[INFO] JAXX :: Maven plugin .............................. SUCCESS [8.148s]
[INFO] JAXX :: Widgets ................................... FAILURE [0.492s]
[INFO] JAXX :: Config .................................... SKIPPED
[INFO] JAXX :: Application API ........................... SKIPPED
[INFO] JAXX :: Application Swing ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.467s
[INFO] Finished at: Tue Feb 04 12:16:24 CET 2014
[INFO] Final Memory: 58M/840M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT:generate (default) on project jaxx-widgets: Execution default of goal org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT:generate failed: Plugin org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.nuiton:nuiton-decorator:jar:3.0-alpha-3, org.nuiton.eugene:eugene:jar:2.7.4: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT:generate (default) on project jaxx-widgets: Execution default of goal org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT:generate failed: Plugin org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.nuiton:nuiton-decorator:jar:3.0-alpha-3, org.nuiton.eugene:eugene:jar:2.7.4: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT:generate failed: Plugin org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.nuiton:nuiton-decorator:jar:3.0-alpha-3, org.nuiton.eugene:eugene:jar:2.7.4: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:87)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 30 more
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.nuiton.jaxx:jaxx-maven-plugin:2.8-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.nuiton:nuiton-decorator:jar:3.0-alpha-3, org.nuiton.eugene:eugene:jar:2.7.4: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:208)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:357)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:325)
at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:180)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:83)
... 31 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.nuiton:nuiton-decorator:jar:3.0-alpha-3, org.nuiton.eugene:eugene:jar:2.7.4: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:200)
... 35 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.nuiton:nuiton-decorator:jar:3.0-alpha-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:177)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
... 38 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :jaxx-widgets
Sending e-mails to: jaxx-commits(a)list.nuiton.org
channel stopped
1
2
Build failed in Jenkins: jaxx » JAXX :: Widgets #13
by admin+ci-nuiton.org@codelutin.com Feb. 4, 2014
by admin+ci-nuiton.org@codelutin.com Feb. 4, 2014
Feb. 4, 2014
See <http://ci-ng.nuiton.org/jenkins/job/jaxx/org.nuiton.jaxx$jaxx-widgets/13/>
------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JAXX :: Widgets 2.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jaxx-widgets ---
[INFO] Deleting <http://ci-ng.nuiton.org/jenkins/job/jaxx/org.nuiton.jaxx$jaxx-widgets/ws/ta…>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ jaxx-widgets ---
[INFO]
[INFO] --- jaxx-maven-plugin:2.8-SNAPSHOT:generate (default) @ jaxx-widgets ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui… (0 B at 0.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui… (0 B at 0.0 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-config/3.0-alpha-2/nu…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/3.0-rc-2/nuiton…
[WARNING] Failed to getClass for org.nuiton.jaxx.plugin.GenerateMojo
[JENKINS] Archiving disabled
1
2
The JAXX team is pleased to announce the jaxx-2.8 release!
JAXX Project
Documentation of the project can be found here:
https://maven-site.nuiton.org/jaxx
Changes
-------
Changes in this version include:
Changes:
o Updates eugene to 2.7.4 Issue: 3053. Thanks to Tony Chemit. Resolved by tchemit.
o Updates nuiton-csv to 3.0-alpha-3 Issue: 3052. Thanks to Tony Chemit. Resolved by tchemit.
o updates nuiton-validator to 3.0-alpha-3 Issue: 3040. Thanks to Tony Chemit. Resolved by tchemit.
o updates i18n to 3.0 Issue: 3039. Thanks to Tony Chemit. Resolved by tchemit.
o updates nuiton-utils to 3.0-rc-2 Issue: 3038. Thanks to Tony Chemit. Resolved by tchemit.
o Use mavenpom 4.7 Issue: 3019. Thanks to Tony Chemit. Resolved by tchemit.
o Updates plexus-utils to 3.0.17 Issue: 3041. Thanks to Tony Chemit. Resolved by tchemit.
o Introduce a simple jaxx application framework Issue: 3017. Thanks to Tony Chemit. Resolved by tchemit.
o Remove jaxx-swing-action moduel from svn Issue: 3016. Thanks to Tony Chemit. Resolved by tchemit.
Downloads
---------
No release file deployed. (all files are deployed in the maven repository)
Maven artifacts
---------------
Artifacts are deployed in Maven Central Repository
http://repo1.maven.org/maven2/
Find us at
* http://search.maven.org/#artifactdetails|org.nuiton|jaxx|2.8|jar
Have fun!
-JAXX team
1
0