[
https://issues.jboss.org/browse/JBIDE-11919?page=com.atlassian.jira.plugi...
]
Larry Wilson commented on JBIDE-11919:
--------------------------------------
Lincoln - I do believe this is related to executing in the JBDS environment. I've run
my script 3 times this morning without an error (that's unusual in the JBDS
environment). Native is a *lot* faster. I hunch that there's an issue between
executing a forge command, auto-refreshing the JBDS environment, and running the next
forge command before the refresh has completed. Apparently a timing/synchonization issue.
Koen, I don't see a way to attach a file. Besides, I'd have to get an OK to upload
the entire thing. Here's a sample (first part of the script) of what we're doing:
set ACCEPT_DEFAULTS true;
new-project --named tcs2 --topLevelPackage com.tcs --type war --projectFolder tcs2
forge install-plugin angularjs
persistence setup --named Tcs --provider HIBERNATE --container JBOSS_EAP6 --jndiDataSource
java:jboss/TcsDS
validation setup
entity --named TimeZone --package ~.model;
field string --named code --length 100;
constraint NotNull --onProperty code;
field string --named description --length 100;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
entity --named PhoneType --package ~.model;
field string --named description;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
entity --named AttributeType --package ~.model;
field string --named description;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
entity --named ProductCode --package ~.model;
field string --named description;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
entity --named Country --package ~.model;
field string --named code --length 2;
constraint NotNull --onProperty code;
constraint Size --min 2 --max 2 --onProperty code;
field string --named description;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
entity --named State --package ~.model;
field string --named code --length 4;
constraint NotNull --onProperty code;
constraint Size --onProperty code --min 2 --max 4;
field string --named description;
constraint NotNull --onProperty description;
field string --named lastUpdateBy --length 50;
field temporal --type TIMESTAMP --named lastUpdateDate;
Hope this helps.
Forge Console in JBDS/Tools - Screen "Garbage"
----------------------------------------------
Key: JBIDE-11919
URL:
https://issues.jboss.org/browse/JBIDE-11919
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Affects Versions: 3.3.0.Beta3
Environment: 3.3.Beta3 or JBDS5 Beta3
Reporter: Burr Sutter
Assignee: Koen Aers
Priority: Blocker
Fix For: 3.3.0.CR1
Attachments: forgedemo.fsh, Screen Shot 2012-05-21 at 11.00.35 AM.png, Screen
Shot 2012-05-21 at 11.05.15 AM.png, Screen Shot 2012-05-21 at 11.18.41 AM.png
_____
| ___|__ _ __ __ _ ___
EC: echo echo CRN: /Users/burr/gettingstarted/workspaceToolsBeta2v3 CRT:
DirectoryResource CPN: PAR: [Ljava.lang.String;@1371098d
org.jboss.forge.shell.util.PipeOutImpl@622a11f3 EC: echo echo CRN:
/Users/burr/gettingstarted/workspaceToolsBeta2v3 CRT: DirectoryResource CPN: PAR:
[Ljava.lang.String;@38009ade org.jboss.forge.shell.util.PipeOutImpl@2fb7818b EC: echo
echo CRN: /Users/burr/gettingstarted/workspaceToolsBeta2v3 CRT: DirectoryResource CPN:
PAR: [Ljava.lang.String;@421dc8c8 org.jboss.forge.shell.util.PipeOutImpl@3004ed34
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira