[jbosstools-issues] [JBoss JIRA] (JBIDE-17627) Special characters like > are not processed correctly in the Forge console

Vineet Reynolds (JIRA) issues at jboss.org
Tue Jun 17 04:43:24 EDT 2014


Vineet Reynolds created JBIDE-17627:
---------------------------------------

             Summary: Special characters like > are not processed correctly in the Forge console 
                 Key: JBIDE-17627
                 URL: https://issues.jboss.org/browse/JBIDE-17627
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: forge
    Affects Versions: 4.2.0.Beta2
         Environment: Mac OS X Mavericks, Oracle JDK 7 u60, Oracle JDK 8u5
            Reporter: Vineet Reynolds


When I run a Forge command in console where some special characters are present in the input, the input following the special characters are omitted during processing.

For example:

{noformat}
[Event.java]$ constraint-add --onProperty name --constraint Size --min 5 --max 50 --message "Must be > 5 and < 50"
aesh: can't redirect to more than one file.
{noformat}

which results in the following bit of code being generated:

{noformat}
	@Column
	@Size(min = 5, max = 50, message = "Must be ")
	private String name;
{noformat}

Note the characters following {{'>'}} have been omitted in the generated annotation attribute value.

This is not a problem with the Eclipse GUI, so I guess this is an Aesh+Forge issue involving escaping of such characters.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list