]
Vineet Reynolds commented on JBIDE-17627:
-----------------------------------------
[~jpeterka], yes it can be set as resolved. I could not reproduce it any longer.
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
Assignee: Koen Aers
Priority: Blocker
Fix For: 4.2.0.Beta3
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.