Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cpelster

Pages: [1]
1
hi,

i think it should be possible to set the file extension for the files produced in a custom code generation script. the ".java" default makes no sense, because when i write my own transformation script, its very likly that it doesn't produce java code.


regards,

 christian

2
Hi,

are there any news on this topic?

regards,

  Christian

3
General Board / file extension for custom code generation
« on: May 14, 2007, 02:39:21 am »
hi all,

how do i set the file extension for my custom language when using the code generator?


regards,


  christian

4
General Board / tagged values in associations/connections
« on: March 13, 2007, 02:58:30 am »
Hi,

I'm currently working with with a new template and I have a problem concerning transforming and tagged values and associations/connections.

I tried:

---

%connectorType%
{
 %TRANSFORM_REFERENCE("Connector",connectorGUID)%
 %TRANSFORM_CURRENT()%

 Tag
 {
   name="test_tag"
   value="abc123"
 }

 Source
 {
   [...]
 }
 
 Target
 {
   [...]
 }
}
%endIf%
---

in my association, but the tags won't show up.

Thanks in advance.[glb][/glb]

5
General Board / Re: Connector end detection during transformation
« on: May 26, 2007, 01:14:06 am »
Hi,

we solved the problem by writing our own more powerful transformation language as a plugin, but i think the problem was resolved by EA in build 605 or 606, i saw something concerning the connector ends in the changelogs.

regards,

  christian

6
General Board / Re: Connector end detection during transformation
« on: March 15, 2007, 11:57:29 pm »
Quote
Add something like this the following to the top of your connector template.

Code: [Select]
%if connectorSourceElemGuid != classGuid%
%endTemplate%


Hi Simonm,

i tried it, but it never gets called.
Correct me if I'm wrong but when the class references itself connectorSourceElemGuid and connectorDestElemGuid always are the same as classGuid?

Thanks,

  Christian

7
General Board / Connector end detection during transformation
« on: March 15, 2007, 06:07:37 am »
Hi there,

i have a class with a connection to itself. during the template the connection template is called twice for
beginning (source) and end (destination). Is there any chance to know whether i'm at the beginning ot the end?

in my exmaple I want to insert a primary key when the class references itself and the key gets insertet two times.


thanks in advance,


  christian

8
General Board / Using TransformPackage serveral times
« on: May 24, 2007, 06:16:36 am »
Hi,

i noticed that when I use Project.TransformPackage(String, String, String, String) several times with the same TargetPackageGUID, that the result not always lands in the wanted TargetPackage. After the second or third rund, the result appears in some random package.
Can anyone confirm this behaviour?

Regards,

  Christian

9
General Board / Re: 7.0 Beta
« on: May 22, 2007, 01:10:18 am »
Hi,

where can i download the 7.0 beta? i crawled nearly the whole homepage, even the registered users part, but i can't find andything.

regards,


  christian

10
Automation Interface, Add-Ins and Tools / RTF format
« on: July 01, 2009, 09:52:11 pm »
Hi everyone,

for several reasons we need to read out all linked documents from the database into rtf files. No problem so far, we just unzip the bincontent and get a bunch of files.
But for some reason only about the half of the files are valid rtfs, the other half contains the text we see in the EA linked document editor, but I have no idea how to convert this into an rtf.

Any hint?

Regards,

   Christian

11
Automation Interface, Add-Ins and Tools / How to get Package Type?
« on: November 08, 2007, 05:22:30 am »
Hi,

when I add a new package to a package Collection, the add method needs a package name and type.
Is there a way to get the type of a existing package?

regards,

  christian

12
Automation Interface, Add-Ins and Tools / SqlQuery SQL Syntax
« on: May 24, 2007, 04:23:35 am »
Hi,

i wonder if there is any documentation on the SQLQuery query syntax, for example what SQL dialect to uses, how to escape characters and so on.
Since EA runs on many databeses i guess there is some kind of db abstraction behind this function?

regards,

 christian

13
Automation Interface, Add-Ins and Tools / Re: SQLQuery
« on: May 24, 2007, 03:40:54 am »
Hi,

the SqlQuery returns a string containing the result set as XML.
You have to parse the XML output to get the Result.

regards,

  christian



14
hi,

i'm already working with the automation interface, but can't find a way for the following scenario:

i want to edit the transformations stored in the database, somthing like: give me all transformation templates having "my_transformation" as name.


regards,

 christian

15
Hi,

i'm currently writing a plugin that needs to store information, what is the EA way to do this?
is there in interface to read/write to the ea-project file/db?

regards,

  christian

Pages: [1]