Re: [Fornax-developer] [Sculptor] run using Ant?

2010-03-21 Thread polly.c.chang
Hi Patrik, Ah, I was looking in the Fornax documentation instead of the oAW documentation. That's why I didn't find it. I found the matching link in the old oAW4 documentation. http://www.openarchitectureware.org/pub/documentation/4.3.1/html/contents/workflow_reference.html#workflow_reference_

Re: [Fornax-developer] [Sculptor] run using Ant?

2010-03-20 Thread polly.c.chang
lol! --Polly PaloT wrote: > > Humor > As long as you can start Maven from Ant you are safe. :-D > Humor > > Pavel > > -- View this message in context: http://old.nabble.com/-Sculptor--run-using-Ant--tp27950997s17564p27972484.html Sent f

[Fornax-developer] [Sculptor] run using Ant?

2010-03-19 Thread polly.c.chang
Hi, Just out of curiosity, is it possible to run the code generator using Ant? Is there a way to call the Fornax oaw plugin from Ant? Thanks, Polly -- View this message in context: http://old.nabble.com/-Sculptor--run-using-Ant--tp27950997s17564p27950997.html Sent from the Fornax-Platform mai

Re: [Fornax-developer] [Sculptor] Generator dependency

2009-11-13 Thread polly.c.chang
great! Thanks! --Polly Karsten Thoms wrote: > > Yes, a JIRA entry exists: http://fornax.itemis.de/jira/browse/TOM-27 > > -- View this message in context: http://old.nabble.com/-Sculptor--Generator-dependency-tp26309409s17564p26338160.html Sent from the Fornax-Platform mailing list archiv

Re: [Fornax-developer] [Sculptor] Generator dependency

2009-11-12 Thread polly.c.chang
cting > that it takes me 2 whole days to solve it. It is quite tedious to debug > into this part, and I already spent several hours when I looked into this > the last time. This is quite huge effort and at the moment I do not have > time for this. > > Kind regards, > ~Kars

Re: [Fornax-developer] [Sculptor] Generator dependency

2009-11-12 Thread polly.c.chang
provided > > > That is how the archetypes generate the pom files and that is how I use it > without any further excludes, and it is not placed in war/ear. > > /Patrik > > > > polly.c.chang wrote: >> >> Hi, >> >> I&#x

[Fornax-developer] [Sculptor] Generator dependency

2009-11-11 Thread polly.c.chang
Hi, I've wondered about this problem for a while now, and I cannot figure out a way to solve this. To generate code in my user project, the user project has to declare a dependency to the "generator" jar, which transitively brings in dependencies like the "metamodel" and "dsl" jars and EMF, oA

Re: [Fornax-developer] Fornax Repo

2009-09-14 Thread polly.c.chang
Hi Patrik, Thanks for your feedback. I am glad to know that it wasn't just us that ran into this problem. It was quite chaotic and confusing for us for a while. Probably taking the cache "offline" would have been less drastic than what we did. I had to upload the few Fornax artifacts that we

Re: [Fornax-developer] Fornax Repo

2009-09-14 Thread polly.c.chang
Hi, Can you explain what changes are happening with the Fornax Maven repo? We are seeing a really weird problem that appears to be contributed by the Fornax Maven repo. The setup is that none of our POMs reference the Fornax repo directly. Instead, our company's Artifactory caches artifacts

Re: [Fornax-developer] [Sculptor] DbUnit file and join tables

2009-08-24 Thread polly.c.chang
Hi Patrick, Sure! Thanks for pointing out CSC-382. I did not see that. We already have code that drops all constraints, runs the delete-all, and then reapplies the constraints, but your solution looks more database agnostic. We may need to switch to using your solution. Thanks! --Polly Pat

[Fornax-developer] [Sculptor] DbUnit file and join tables

2009-08-21 Thread polly.c.chang
Hi, The code that generates the DBUnit XML file is really robust and is a great time-saver! Thank you so much for writing it. However, we noticed that the generated file is missing the many-to-many join tables. This was pretty simple to fix though. In dbhelper.ext: // get unique list of join

Re: [Fornax-developer] Fornax maven repo down?

2009-07-18 Thread polly.c.chang
Hi Karsten, No worries, luckily we were able to get by for the day using our local repo. Thanks for fixing it! --Polly Karsten Thoms wrote: > > Hi Polly, > > right. I was offline and did not recognized. Disk was full :-/ > > ~Karsten > > Am 17.07.2009 um 16:

Re: [Fornax-developer] [Sculptor] "required" and collection references

2009-07-17 Thread polly.c.chang
ah, ok, so in Sculptor, a collection Reference cannot be used with "required". It can only be used with "!changeable". Perhaps you can add validation or documentation to clarify this for others. Just a suggestion. Thanks for the explanation! --Polly Patrik Nordwall wrote: > > The reason fo

[Fornax-developer] Fornax maven repo down?

2009-07-17 Thread polly.c.chang
Hi, Is the Fornax Maven repo down? This url just hangs: http://www.fornax-platform.org/archiva/repository/releases Thanks! --Polly -- View this message in context: http://www.nabble.com/Fornax-maven-repo-down--tp24535930s17564p24535930.html Sent from the Fornax-Platform mailing list archive

[Fornax-developer] [Sculptor] "required" and collection references

2009-07-10 Thread polly.c.chang
Hi, I have a question about the "required" keyword. The Advanced Tutorial says: "As a complement to changeable you can use required for Attributes and References that are to be included in the constructor, but still have a setter method." I find that when we set a Reference collection to requi

Re: [Fornax-developer] [fornax-oaw-m2-plugin] find workflow.oaw file in classpath?

2009-07-06 Thread polly.c.chang
Hi Karsten, Thanks for the quick reply! Yup, I'm using the Fornax plugin to pass the project-specific properties to the generator project. I'll give you some more details. In my user project POM, I normally pass in the properties like this:

[Fornax-developer] [fornax-oaw-m2-plugin] find workflow.oaw file in classpath?

2009-07-06 Thread polly.c.chang
Hi, Does the fornax-oaw-m2-plugin support finding a workflow.oaw file from the classpath instead of inside the project? The plugin can pass in properties for everything that I want to configure, so there's no need for me to have a one-line workflow.oaw file inside my project that just refers to

[Fornax-developer] logging with fornax-oaw-m2-plugin

2009-06-23 Thread polly.c.chang
Hi, I tried updating fornax-oaw-m2-plugin from version 2.1.1 to 3.0.1. It looks like logging has changed. I now gets *tons* of debug output that I never used to see, like: [org.openarchitectureware.xpand2.output.FileHandleImpl] : Opening file : C:\projects\runtime\com.foo.model\src\main\java\c

[Fornax-developer] [Sculptor] filtering gui vs. business tier issues

2009-06-16 Thread polly.c.chang
Hi, I was browsing the Sculptor issues and wondering if there's an easy way to search/filter for GUI vs. Business Tier issues. For example, I would like to find all Business Tier issues fixed for the 1.6.0 release. I notice that most of the time, the GUI issues say "RCP" or "GUI", but the subta

Re: [Fornax-developer] [Sculptor] changing outlet directories

2009-06-04 Thread polly.c.chang
cool! Thanks! --Polly Patrik Nordwall wrote: > > Do like this in your workflow.oaw > 1. Define the property for the outlet (same property names as in > sculptorworkflow.oaw). > 2. Add inheritAll="true" to the cartridge > > > > > > > >val

[Fornax-developer] [Sculptor] changing outlet directories

2009-06-03 Thread polly.c.chang
Hi, I am trying to change the outlet directories in Sculptor using the oAW plugin. The documentation is here: http://fornax.itemis.de/confluence/display/fornax/Configuration+(TOM)#Configuration(TOM)-Outlets I am following the example and setting the directories like this:

Re: [Fornax-developer] oaw-m2-plugin configuration

2009-05-20 Thread polly.c.chang
} > } > > Additional Outlets cannot be added at the moment. Created a ticket: > http://fornax.itemis.de/jira/browse/TOM-23 > > ~Karsten > > On 19.05.09 18:18, polly.c.chang wrote: >> Hi, >> >> Thank you for creating the oaw-m2-plugin and updating

[Fornax-developer] oaw-m2-plugin configuration

2009-05-19 Thread polly.c.chang
Hi, Thank you for creating the oaw-m2-plugin and updating it to work with both TMF and OAW! I have a couple of questions about configuring this plugin: 1. On the oaw-m2-plugin wiki page, the documentation says that it should be possible to "execute the generation phase without the execution o

Re: [Fornax-developer] [Sculptor] extension parser clash

2009-04-23 Thread polly.c.chang
Hi Patrik, I am happy to report that I resolved the problem by changing the extension to something unique. I haven't seen any more error markers related to loading files from the classpath. I hope that luck stays! I'll go back to look at the other scenario that you wanted me to test. Regardin

[Fornax-developer] [Sculptor] extension parser clash

2009-04-15 Thread polly.c.chang
Oh, will the pain never end with this file resolving problem! I had everything working great. Design files were getting resolved from the classpath and there were no errors. I was about to test the condition that you asked me to check in the other thread. Then I discovered that the evil red "c

Re: [Fornax-developer] [Sculptor] weird resolving behavior with oAW 4.3.1

2009-04-13 Thread polly.c.chang
ont. Of course this is a hack, and when TMF is ready, I'll need to rip this back out. But I just thought I'd share and let you know that the Sculptor code is fine. :) Thanks, Polly polly.c.chang wrote: > > For some strange reason, I am now able to reproduce the problem in my

Re: [Fornax-developer] [Sculptor] Eclipse TMF

2009-04-13 Thread polly.c.chang
duction. With some obstacles and help > from the development team though. > > ~Karsten > > On 13.04.2009 20:46 Uhr, polly.c.chang wrote: >> Hi Patrik, >> >> Since the Xtext part of oAW is being rewritten as Eclipse TMF, I was >> wondering if you have been followi

[Fornax-developer] [Sculptor] Eclipse TMF

2009-04-13 Thread polly.c.chang
Hi Patrik, Since the Xtext part of oAW is being rewritten as Eclipse TMF, I was wondering if you have been following the TMF milestone builds? Just curious. http://wiki.eclipse.org/Xtext/Galileo Thanks, Polly -- View this message in context: http://www.nabble.com/-Sculptor--Eclipse-TMF-tp230

Re: [Fornax-developer] [Sculptor] weird resolving behavior with oAW 4.3.1

2009-04-13 Thread polly.c.chang
x27;ll let you know what I find. Thanks, Polly polly.c.chang wrote: > > Hi, > > I have noticed some strange behavior when using oAW 4.3.1 and was > wondering if you see it in Sculptor also. I have a project that declares > external imports using the "classpath&q

[Fornax-developer] [Sculptor] weird resolving behavior with oAW 4.3.1

2009-04-07 Thread polly.c.chang
Hi, I have noticed some strange behavior when using oAW 4.3.1 and was wondering if you see it in Sculptor also. I have a project that declares external imports using the "classpath" method instead of the "platform:/resource" method. This means that the Design files can be resolved from a jar in

[Fornax-developer] [Sculptor] NPE when trying to open Design files stored in a jar

2009-04-07 Thread polly.c.chang
Hi, I noticed that Design files do not open up if they are in a jar. I get a NullPointerException in AbstractXtextEditor. Here's the stacktrace: java.lang.NullPointerException at org.openarchitectureware.xtext.editor.AbstractXtextEditor.doSetInput(AbstractXtextEditor.java:313) at org.eclipse.

Re: [Fornax-developer] [Sculptor] code completion with oAW 4.3.1?

2009-03-30 Thread polly.c.chang
Hi Patrik, This is so convenient and resolves the problem! I see the code completion choices now. :) Thanks! --Polly Patrik Nordwall wrote: > > I have tried the oAW correction of > http://www.openarchitectureware.org/bugzilla/show_bug.cgi?id=1675 bug 1675 > . > I think it works with Sculpt

Re: [Fornax-developer] [Sculptor] code completion with oAW 4.3.1?

2009-03-26 Thread polly.c.chang
I Googled around and found this post in the oAW forums. It looks like this may be the problem that we're seeing. http://www.openarchitectureware.org/forum/viewtopic.php?forum=29&showtopic=11805 The bug report says that it has been fixed in 4.3.1.x, but it has not been released. --Polly Ma

[Fornax-developer] [Sculptor] code completion with oAW 4.3.1?

2009-03-16 Thread polly.c.chang
Hi, Do you see any problems getting code completion choices to show up when using oAW 4.3.1? I can only get a few of the choices to show up for some reason. Does this affect Sculptor also? Thanks, Polly -- View this message in context: http://www.nabble.com/-Sculptor--code-completion-with-oA

Re: [Fornax-developer] [Sculptor] NullpointerException in checkCyclicDependencies()

2009-02-18 Thread polly.c.chang
Personally, I like the recursive imports. The second way of doing the imports is so much cleaner. It would be good if having extra imports doesn't cause a NullPointerException though. Those can be so hard to resolve. Just my 2 cents. I've been swamped so I have been unable to update to oAW 4.

[Fornax-developer] [Sculptor] Disabling XmlFormatter in user project

2009-01-29 Thread polly.c.chang
Hi, I have a user who is having problems with the XMLFormatter. Something seems to be messed up with his network setup such that when the formatter tries to resolve the Hibernate DTD during beautification, he gets "connection timed out" errors. So I want to be able to remove the entry for the t

Re: [Fornax-developer] [Sculptor] uni-directional one-to-many mapping?

2009-01-15 Thread polly.c.chang
Hi Patrik, I have another question for you-- In the hbm file, to get the "key" to not say "on-delete="cascade"", we need to set this property right? db.mysql.onDeleteCascade=false Is this the right thing to do or is that for something else? Also, do you have a regression test suite that tests

Re: [Fornax-developer] [Sculptor] uni-directional one-to-many mapping?

2009-01-14 Thread polly.c.chang
Hi Patrik, Yes, we found that if we remove the "inverse" from the hbm file, and the "key" does not say on-delete="cascade", then it works. Thanks, Polly Patrik Nordwall wrote: > > Aha, it might be a bug, does it work if you remove the inverse from the > hbm file? > /P > > -- View this

Re: [Fornax-developer] [Sculptor] uni-directional one-to-many mapping?

2009-01-14 Thread polly.c.chang
Hi Patrik, Yup, that's what we tried. We ran into a problem though. Here's the definition: Entity PropertyData { - List<@PropertyItem> items fetch="join" cascade="all" inverse } ValueObject PropertyItem {

[Fornax-developer] [Sculptor] uni-directional one-to-many mapping?

2009-01-13 Thread polly.c.chang
Hi, Is it possible to map a uni-directional one-to-many mapping? From looking at the documentation and template code, it looks like one has to mark the Reference as "inverse", which is a bi-directional mapping. I just want to have a simple uni-directional mapping. Thanks! --Polly -- View th

Re: [Fornax-developer] Injecting Service to Service

2009-01-08 Thread polly.c.chang
./Andreas > > On Thu, Jan 8, 2009 at 9:04 PM, polly.c.chang > wrote: > >> >> Thanks for checking. That's what I wanted to know--if it works for you >> using >> trunk. >> >> What do you guys mean that the code is only in SVN but not in the &

Re: [Fornax-developer] Injecting Service to Service

2009-01-08 Thread polly.c.chang
Argh! I finally figured it out. I went back and rediffed all the Sculptor changes for that fix. I diffed the ecore file changes in the Sculptor SVN and compared them with my ecore file. Then I realized that when I changed the metamodel diagram, I used an Aggregation line instead of an Asso

Re: [Fornax-developer] Injecting Service to Service

2009-01-08 Thread polly.c.chang
Thanks for checking. That's what I wanted to know--if it works for you using trunk. What do you guys mean that the code is only in SVN but not in the snapshot version? Thanks! --Polly Patrik Nordwall wrote: > > Yes, that might be true. > /Patrik > > PaloT wrote: >> >> Isn't it only in S

Re: [Fornax-developer] Injecting Service to Service

2009-01-07 Thread polly.c.chang
Hi, The JIRA below is mentioned as Fixed, but I am having some problems after copying the fix into my version of Sculptor. I made the change in the metamodel to add the "serviceDependencies" collection to Service. Then I copied in the other code changes. I have this in the design file:

[Fornax-developer] oAW 4.3.1 support?

2009-01-05 Thread polly.c.chang
Hi, I see that someone beat me to creating a JIRA for Fornax to support oAW 4.3.1. ;) http://www.fornax-platform.org/tracker/browse/TOM-20 Any idea on when Fornax will be compatible with 4.3.1? If you are busy, that's fine. Can you please tell me where I can find the Maven jars? Then at lea

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-15 Thread polly.c.chang
Hi, I tried to reproduce the problem in the trunk version of Sculptor with Jan from oAW, but I could not reproduce it. The NestedTransformationTest passes but this always prints out this in the console: 4328 ERROR WorkflowRunner - Workflow interrupted. Reason: Errors during validation. 4344

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-12 Thread polly.c.chang
Hi Karsten, I wasn't sure if what I observed was a bug or if there was something that I needed to do differently. Thanks for creating the issue in the bug tracker! --Polly Karsten Thoms wrote: > > Yes, this was indeed unplanned. There were some major issues fixed from > RC2->RC3 and we had

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-12 Thread polly.c.chang
Re-tested with RC3. Same error. --Polly polly.c.chang wrote: > > Hi, > > Since I haven't heard back in a while and I know that oAW's deadline for > 3.4.1 Final is coming up, I figured I'd try to help out by posting on the > oAW forum: > > ht

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-12 Thread polly.c.chang
lanned RC3 that came out yesterday!! Darn it. I guess I'll try this again. Thanks, Polly polly.c.chang wrote: > > Ah, that makes sense. > > I tested oAW 4.3.1 RC2 with my user projects and ran into issues with the > nested imports. Then I realized that I should go bac

Re: [Fornax-developer] Using a Map in an entity or value object

2008-12-11 Thread polly.c.chang
Well then, that answers my first question. :) Do you think that this is a complex feature? It looks like it ought to be fairly straight-forward because there may be some reference code for DslServiceOperation and DslRepositoryOperation. They both allow the use of DslMapCollectionType. Please

Re: [Fornax-developer] Using a Map in an entity or value object

2008-12-10 Thread polly.c.chang
Hi Patrik, I was just curious--is somebody working on this feature? If not, when do you think it might be done and how much work do you think it is to implement? I'm just trying to think ahead. As more people are starting to use what I've built on top of Sculptor, I'm sure that they are goin

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-09 Thread polly.c.chang
Ah, that makes sense. I tested oAW 4.3.1 RC2 with my user projects and ran into issues with the nested imports. Then I realized that I should go back to run the Sculptor JUnit tests manually. I ran the tests in the "generator" project and found that all tests pass except for the NestedTransfo

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-09 Thread polly.c.chang
Hi Patrik, I tested with oAW 4.3.1 RC2. Here are my findings: 1. I made the changes that you mentioned in Extensions.ext and DslTransformation.ext. 2. The bug that you created below has been closed, and I was able to run generate.oaw with no problems. 3. After that, there were no error

Re: [Fornax-developer] [Sculptor] Duplicate name validation

2008-12-08 Thread polly.c.chang
Hi Patrik, I tried some similar code earlier when I was trying to write a more generic function, but I always get an oAW validation error at "metaType". The error is: "no viable alternative at input 'metaType'" I'm not sure what this means. I will post on the oAW forum. We might not hear bac

[Fornax-developer] [Sculptor] Duplicate name validation

2008-12-08 Thread polly.c.chang
Hi, A while back, we discussed the problem with oAW resolving objects with the same name in different modules: http://www.nabble.com/-Sculptor--resolving-references-to-domain-objects-with-same-name-in-different-modules-td19152982s17564.html Since I know about this issue, I simply don't name obje

Re: [Fornax-developer] [sculptor] oAW 4.3.1

2008-12-08 Thread polly.c.chang
Hi Patrik and Karsten, Thanks for working on this so quickly! Patrik: the bug that you opened has been marked as Resolved today, so I will test with RC2 when it comes out today. Thanks, Polly Patrik Nordwall wrote: > > It is something strange. I filed a new issue: > https://bugs.eclipse.

[Fornax-developer] [sculptor] oAW 4.3.1

2008-12-05 Thread polly.c.chang
Hi, oAW has posted their Release Schedule for 4.3.1. This version has an important bug fix that I really need. So I am wondering--what are Fornax/Sculptor's plans to support this version? I tried out 4.3.1 RC1 today, but I keep seeing these errors in Eclipse: Couldn't find operation 'load()'

Re: [Fornax-developer] [Sculptor] how to hide proposal for "databaseType"?

2008-11-17 Thread polly.c.chang
Hi Patrick, Thank you very much for this trick. I finally had another chance to work on this today. I learned another trick on the oAW forums that I finally went with. It turns out that you can do this in the ContentAssist.ext file: // don't want the user to use Consumer and databaseType keyw

Re: [Fornax-developer] [Sculptor] how to hide proposal for "databaseType"?

2008-11-14 Thread polly.c.chang
interesting! I'll give that a try and let you know what I find. Thanks! --Polly Patrik Nordwall wrote: > > I think it is defined in the generated class SculptordslUtilities, method > allKeywords > > It is possible to change to your own variant (subclass) of > SculptordslUtilities by changin

[Fornax-developer] [Sculptor] how to hide proposal for "databaseType"?

2008-11-13 Thread polly.c.chang
Hi, What I want to do is when the user is on an attribute and tries to do code completion, I don't want "databaseType" to show up. I am just not having any luck. This looks like it should work but doesn't: /* proposals for Feature DslAttribute::databaseType */ List[Proposal] completeDslAttribu

Re: [Fornax-developer] [Sculptor] importing nested design files

2008-11-07 Thread polly.c.chang
Ah, thank you for the explanation. Now that I know that, some of the weird behavior that I saw make a lot more sense now. Thanks, Polly Patrik Nordwall wrote: > > It is easy to think that these would behave like object oriented > overridden methods, but they don't. > When getAllElements() in

Re: [Fornax-developer] [Sculptor] importing nested design files

2008-11-06 Thread polly.c.chang
Hi Patrik, Neat!! I had no idea that those two methods in Extension.ext would fix the problem. Aren't they the same as the ones in GenExtension.ext? Why does duplicating them in Extension.ext fix the problem? So yes, the nested imports and references do resolve correctly now. Thank you so

Re: [Fornax-developer] [Sculptor] importing nested design files

2008-11-06 Thread polly.c.chang
Hi Patrik, I finally had a chance to test your changes. It looks good for the implementation of the "use" keyword and propagation of the "external" attribute to nested design files. However, it seems that it is not possible to reference an object defined inside a nested file. Given: model1

Re: [Fornax-developer] [Sculptor] importing nested design files

2008-11-03 Thread polly.c.chang
Hi Patrik, The first usage that you described makes sense. We are using the second usage that you identified. The "common" project is a library that simply defines numerous Domain Objects and Enums. There are no Managers or Services, and the Domain Objects are shared across many applications f

Re: [Fornax-developer] [Sculptor] importing nested design files

2008-11-03 Thread polly.c.chang
Hi Patrik, Neat!! That is so awesome. I will test this out after I solve another problem that I ran into. It turns out that importing design files from another project does not run in an automated test environment. :( http://www.openarchitectureware.org/forum/viewtopic.php?showtopic=10623 I