cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

File Based Series : Remove Delimiter and increase the depth for versioning

Amethyst

File Based Series : Remove Delimiter and increase the depth for versioning

Hi All,

I had created a series in this way as I had started a discussion regarding the same.

File Based Series : The series or seed is undefined

However I even wish to remove the delimiter say for suppose as upon revising or check out and check in it gets modified as V1.1 V1.2

So I dont want that delimter dot (.) to be there. I had seen the PTC Tech support portal for this and found few cases

Step 1.)

I went to wt.properties file and found the property. I made two modifications in wt.properties file

wt.series.HarvardSeries.delimiter=.

So I removed the dot and equaled it with nothing as

wt.series.HarvardSeries.delimiter=

Step 2.)

wt.series.HarvardSeries.depth=16

So I updated the depth as 99

wt.series.HarvardSeries.depth=99

But after this the method server failed starting which is showing an error like

2016-05-12 11:36:27,662 INFO  [main] wt.system.err Administrator - Error initializing wt.series.HarvardSeries

2016-05-12 11:36:27,701 INFO  [main] wt.system.err Administrator - java.lang.StringIndexOutOfBoundsException: String index out of range: 0

2016-05-12 11:36:27,721 INFO  [main] wt.system.err Administrator - at java.lang.String.charAt(String.java:686)

2016-05-12 11:36:27,723 INFO  [main] wt.system.err Administrator - at wt.series.HarvardSeries.readStaticProperties(HarvardSeries.java:1042)

2016-05-12 11:36:27,728 INFO  [main] wt.system.err Administrator - at wt.series.HarvardSeries.<clinit>(HarvardSeries.java:164)

2016-05-12 11:36:27,729 INFO  [main] wt.system.err Administrator - at java.lang.Class.forName0(Native Method)

2016-05-12 11:36:27,751 INFO  [main] wt.system.err Administrator - at java.lang.Class.forName(Class.java:171)

2016-05-12 11:36:27,752 INFO  [main] wt.system.err Administrator - at wt.series.Series.getClassForName(Series.java:309)

2016-05-12 11:36:27,752 INFO  [main] wt.system.err Administrator - at wt.series.MultilevelSeries.newMultiLevelSeriesFromSeriesName(MultilevelSeries.java:554)

2016-05-12 11:36:27,753 INFO  [main] wt.system.err Administrator - at wt.series.MultilevelSeries.newMultilevelSeries(MultilevelSeries.java:210)

2016-05-12 11:36:27,754 INFO  [main] wt.system.err Administrator - at wt.vc.VersionControlHelper.<clinit>(VersionControlHelper.java:141)

So how to remove the delimiter for the custom_series class that I had created.

Thanks in advance. Kindly let me know

Thanks and Regards,

Aditya Achanta

2 REPLIES 2

Re: File Based Series : Remove Delimiter and increase the depth for versioning

Hi All,

Can you please help me out like how to resolve this problem in delimiter.

Actually I had attached one more post to this particular query and I was in a position to create a new File Based Versioning Scheme. However if I wish to remove the delimiter like what should I be doing can you please let me know about it once ?

Thanks and Regards,

Aditya Achanta

Re: File Based Series : Remove Delimiter and increase the depth for versioning

Archana,

I don’t know your exact business requirement to implement this. If your requirement is

  1. Display only Revision and hide – check type and attribute managed layout and override the version
  2. Display version by eliminating delimiter -  Use data utility to remove the delimiter and display version as A2 instead  of A.2

It always risk to play with versioning series.

Hope it helps!!!

Thanks

Shreyas

Announcements
LiveWorx Call For Papers Happening Now!