Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to I export a language definition in RTC?

Is there a way to export the language definition in RTC for Enterprise Extensions for z/OS? This is so that we do not have to assigned the definition in every file again and again.

I noticed that in the link below, we create a "default language definition".
https://jazz.net/downloads/rational-team-concert/milestones/3.0M7a?p=news
However, I could not find anywhere else to do this.

Thanks.

0 votes



7 answers

Permanent link
Is there a way to export the language definition in RTC for Enterprise Extensions for z/OS? This is so that we do not have to assigned the definition in every file again and again.

I noticed that in the link below, we create a "default language definition".
https://jazz.net/downloads/rational-team-concert/milestones/3.0M7a?p=news
However, I could not find anywhere else to do this.

Thanks.



System definitions generator in RTC 3.0.1 provides a way to export systems definitions including language definitions to an XML file, but it does not export the associations between files and language definitions. For eliminating the need for assigning language definitions to every file, using the default language definition feature would be a good idea.

In order to use the default language definition feature, you only have to specify the File Extensions in the Language Definition editor. For example, if the File Extensions contains "cbl", files with the "cbl" extension, like "ABC.cbl" or "XYZ.cbl" will be handled as if they are associated with the language definition.

0 votes


Permanent link
Hi, tamichan.

I have to export the language definitions and the dataset definitions, too.
How can I use "System definitions generator" to export systems definitions to an XML file?
Is it a feature of Eclipse or something? I can not find it in RTC3.0.1 nfocenter.

Thanks!



Is there a way to export the language definition in RTC for Enterprise Extensions for z/OS? This is so that we do not have to assigned the definition in every file again and again.

I noticed that in the link below, we create a "default language definition".
https://jazz.net/downloads/rational-team-concert/milestones/3.0M7a?p=news
However, I could not find anywhere else to do this.

Thanks.



System definitions generator in RTC 3.0.1 provides a way to export systems definitions including language definitions to an XML file, but it does not export the associations between files and language definitions. For eliminating the need for assigning language definitions to every file, using the default language definition feature would be a good idea.

In order to use the default language definition feature, you only have to specify the File Extensions in the Language Definition editor. For example, if the File Extensions contains "cbl", files with the "cbl" extension, like "ABC.cbl" or "XYZ.cbl" will be handled as if they are associated with the language definition.

0 votes


Permanent link
Ishida-san,

Please look at the ExportTask section on
http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_RTCz_usingLDG.html

Hi, tamichan.

I have to export the language definitions and the dataset definitions, too.
How can I use "System definitions generator" to export systems definitions to an XML file?
Is it a feature of Eclipse or something? I can not find it in RTC3.0.1 nfocenter.

Thanks!


0 votes


Permanent link
Hi, Takamiya-san

Thanks!
I have a further question.
Do I have to run the ResolveMetadataTask after the ExportTask?


Ishida-san,

Please look at the ExportTask section on
http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_RTCz_usingLDG.html

Hi, tamichan.

I have to export the language definitions and the dataset definitions, too.
How can I use "System definitions generator" to export systems definitions to an XML file?
Is it a feature of Eclipse or something? I can not find it in RTC3.0.1 nfocenter.

Thanks!


0 votes


Permanent link
The answer is Yes.

The doc is somehow misleading. The first sentence of the note starting with Important: (When you export the build XML, you also create new system definitions.) should have been like:

When you run the system definitions generator with the exported build XML, a new set of system definitions are created.

It means that the ExportTask exports the contents of system definitions to an XML file, but it would not export system definitions themselves. So you need to re-run the ResolveMetadataTask to associate your source files with the newly created system definitions.

Hi, Takamiya-san

Thanks!
I have a further question.
Do I have to run the ResolveMetadataTask after the ExportTask?

0 votes


Permanent link
Takamiya-san...

Great! It worked well!
Thank you so much.


The answer is Yes.

The doc is somehow misleading. The first sentence of the note starting with Important: (When you export the build XML, you also create new system definitions.) should have been like:

When you run the system definitions generator with the exported build XML, a new set of system definitions are created.

It means that the ExportTask exports the contents of system definitions to an XML file, but it would not export system definitions themselves. So you need to re-run the ResolveMetadataTask to associate your source files with the newly created system definitions.

Hi, Takamiya-san

Thanks!
I have a further question.
Do I have to run the ResolveMetadataTask after the ExportTask?

0 votes


Permanent link

 Hi,


          While trying to export the System Definition Generator by using Ant Build, facing issue similar to java.lang.IllegalArgumentException: itemHandle must not be nullplease let us know if we are missing anything.

<?xml version="1.0"?>
<project name="sysdef" default="all" xmlns:id="antlib:com.ibm.team.enterprise.zos.systemdefinition.toolkit">
<description> system definiton export</description>
<!-- initialize the system definiton tool -->
<!--target name="init"-->
   <id:init 
      repositoryAddress="https://xxxxxxxxxxxx:9443/ccm/" 
      userId="xxxxx"
      password="xxxxx" 
      projectArea="xxxxxxxxxxxxx xxxx xxxxxx​"/>
<!--/target-->
<target name="export" description="Export existing system definitions to the specified file">
     <!--id:export file="D:/fgt/exportdtl.xml"/-->
     <id:export file="D:/fgt/exporteddtl_globally.xml" global="false"/>
</target>
<target name="all" depends="export" description="final" />
</project>

Error:
Buildfile: C:\Users\workspace\Sysdef\src\def.xml

BUILD FAILED
C:\Users\workspace\Sysdef\src\def.xml:11: java.lang.IllegalArgumentException: itemHandle must not be null

Please let us know if we want to add anything or else missing something...

Thanks.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,381

Question asked: Nov 03 '11, 7:28 a.m.

Question was seen: 11,876 times

Last updated: Aug 11 '17, 9:38 a.m.

Confirmation Cancel Confirm