Comparing the source multiple JADE bases

Forums for specific tips, techniques and example code
DarthVader
Posts: 2
Joined: Tue Sep 06, 2011 10:10 am

Re: Comparing the source multiple JADE bases

Postby DarthVader » Tue Sep 06, 2011 10:14 am

A variant on the extract a schema and compare is to use JadeBatchExtract to extract in sections. See the section "Extracting Schemas in Sections" in the UserGuide.

For example the following extracts every schema in the system to the directory C:\temp2\userSchemas

jadclient path=e:\jadesystems\jade6111\system app=JadeBatchExtract schema=JadeSchema server=singleUser endJade Every C:\temp2\userSchemas\schemas.mul "<sections>"

Because each Type (Class) is extracted to a separate file and the methods are in the same order (this is not true in a scm file) it is easier to compare for differences.

KDiff3 allows you to recursively compare the folders quickly.

This is also a good way to get files than can be banked into subversion.

Hi @Shadowfax. I'm also working on banking jade schemas into SVN.

In regard of the code above, have you managed to get the it working? What did you use for the sections parameter?

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: Comparing the source multiple JADE bases

Postby BeeJay » Tue Sep 06, 2011 10:29 am

I think you'll find that you literally use the string "<sections>" including the quotes and the chevrons exactly as typed.

ie: It's not a way of saying which "sections" you want to extract, but rather that you want the extract to be in sections.

Then again, I could be wrong.

Cheers,
BeeJay.

shadowfax
Posts: 4
Joined: Wed Aug 24, 2011 12:55 pm

Re: Comparing the source multiple JADE bases

Postby shadowfax » Tue Sep 06, 2011 1:02 pm

Beejay is correct


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 1 guest