A3: Changing filenames

Top  Previous  Next

Solution: Task 3.1

Open simplace_modules\test\training\solution\1_WorkingWithSolutions\01_FirstSolution.sol.xml file.

In the interface with id="weatherfile" change the

 <filename>${_WORKDIR_}/training/data/lintul/weather1.txt</filename>

to

 <filename>${_WORKDIR_}/training/data/lintul/weather2.txt</filename>

 

And then run the java application file that uses this ModelSolution (If you can't remember how to do it, please see again the first page 1. Running a solution)

Check out the simple1.txt result file in the output folder(simplace_modules/output/training/simple1.txt).

 

Solution: Task 3.2

Open simplace_modules\test\training\solution\1_WorkingWithSolutions\01_FirstSolution.sol.xml file.

For the interface with id="weatherfile" change the

 <filename>${_WORKDIR_}/training/data/lintul/weather1.txt</filename>

to

 <filename>${_WORKDIR_}/training/data/lintul2/weather1.txt</filename>

 

And then run the java application file that uses this ModelSolution (If you can't remember how to do it, please see again the first page 1. Running a solution)

 

Check out the simplace_modules/output/training/simple1.txt result file in the output folder.

What happened with the results(output file), are they the same after using the weather1.txt file from lintul folder.