IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Generate Java code Options · View
szi
Posted: Friday, March 6, 2020 1:54:56 PM
Rank: Newbie

Joined: 3/6/2020
Posts: 3
When I generate Java code from an mapping, MapForce writes the filename of the example directly into the main function:

Code:
com.altova.io.Input Defekte_RZK_Lieferung2Source = com.altova.io.StreamInput.createInput("edn-75450 - Kopie.xml");
com.altova.io.Output RZK2Target = new com.altova.io.FileOutput("RZK.csv");


How do I have to define the model, so that the file name is variable and taken from the command line?
that
Posted: Friday, March 6, 2020 5:33:22 PM
Rank: Advanced Member

Joined: 6/16/2006
Posts: 486
Location: AT
Like this: https://www.altova.com/manual/Mapforce/mapforceenterprise/mff_in_example.html
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.