Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

csv2xml utility call in a class it executes but not exit and not executes the remaining statements of a program

$
0
0

Hi All,

 

I make a Simple programe to which call the OOTB csv2xml functionality..

As you can see below, very simple program, it works well.. It creates xml files from csv files which are present at <WT_Home>\src\loadfiles\ 

 

but one issue is..

the csv2xml ootb utility does not exit and my remaining statements after this is not executing..

i want to executes the remaining staements after the execution of csv2xml utility..

ho i can do this..

 

Please help me out..

 

 

package ext.util;

 

public class NewCsv2Xml {

public static void main(String[] args) throws Exception{

System.out.println("Calling OOTB CSV2XML Utility");

       

        NewCsvXML.class.desiredAssertionStatus();

        wt.load.util.CSV2XML.main(args);

       

        System.out.println("Done....");

       

}

}

 

 

/// out put of this programs..

 

/*

Calling OOTB CSV2XML Utility

Map file: C:\ptc\Windchill_10.1\Windchill\loadFiles\csvmapfile.txt

Root directory: C:\ptc\Windchill_10.1\Windchill\src\loadFiles

Input: C:\ptc\Windchill_10.1\Windchill\src\loadFiles If this is a directory, all csv files will be processed.

Expected encoding of source file(s): default

Output: C:\ptc\Windchill_10.1\Windchill\src\loadFiles

delimiter: ,

Preserve Space: No

Processing file: C:\ptc\Windchill_10.1\Windchill\src\LoadFiles\WTDocument.csv

Reading source csv file with encoding Cp1252

Processing file: C:\ptc\Windchill_10.1\Windchill\src\LoadFiles\WTPart.csv

Reading source csv file with encoding Cp1252

 

*/


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>