FET Forum

FET Support (English) => Get Help on Your Input File => Topic started by: fabianogs on August 20, 2014, 06:58:05 PM

Title: Input file as argument
Post by: fabianogs on August 20, 2014, 06:58:05 PM
Hello

I am new FET user and it's excellent in my opinion (sorry about my english, I am brazilian).
I would like to know if is there any type to pass the input file as a argument to FET in order to run it in console mode.

Thanks for the answers! Best regards!
Title: Re: Input file as argument
Post by: Liviu Lalescu on August 20, 2014, 07:06:03 PM
./fet-cl --inputfile=test.fet (read the README file in the FET package). Or fet-cl.exe --inputfile=test.fet, under Windows.
Title: Re: Input file as argument
Post by: fabianogs on August 20, 2014, 08:27:26 PM
Thanks!!!
I will study the input file format to test it! But, under Linux?
Regards!
Title: Re: Input file as argument
Post by: Liviu Lalescu on August 20, 2014, 08:35:05 PM
./fet-cl --inputfile=test.fet
Title: Re: Input file as argument
Post by: fabianogs on August 20, 2014, 08:36:18 PM
Thanks again!
Title: Re: Input file as argument
Post by: fabianogs on August 22, 2014, 12:01:35 AM
Hello again

I had success using FET at command line. Thanks for the help.
Now my doubt is: does the input file have a specific layout? Because I am using a open source school management software (http://www.solis.coop.br/sagu) and I would like to integrate with FET.

Thanks again.
Title: Re: Input file as argument
Post by: Liviu Lalescu on August 22, 2014, 12:25:31 AM
Yes, the input file is text XML, but I didn't write a specification for it. You may see the file translations/test-all-constraints.fet for a list of all constraints, or derive a file for yourself from the FET interface.
Title: Re: Input file as argument
Post by: fabianogs on August 22, 2014, 12:28:13 AM
Thanks Liviu!

I have already study the input xml and see the test-all-constraints.
I will write a specification and I can share with you in future.

Best regards
Title: Re: Input file as argument
Post by: Liviu Lalescu on August 22, 2014, 12:34:19 AM
Yes, thank you!