Page 1 of 1

Read from Text file does not work with miabuild

Posted: Mon Apr 30, 2012 2:02 am
by mikKummerfeld
If you build a project via CMD.exe (miabuild), the function "Read from text file" does not work

Re: Read from Text file does not work with miabuild

Posted: Mon Apr 30, 2012 2:49 am
by bokkie
Heiko,

I'm using IA at this moment in time. I will check that for you and reply shortly...

Re: Read from Text file does not work with miabuild

Posted: Mon Apr 30, 2012 3:07 am
by bokkie
Heiko,

I've attached a sample project which works for me. Can you try it? It's a basic project without any UI. I also built it using miabuild.exe.

Create a text file called Test.txt in C:\Temp and then run the installer. It reads the text file and creates an output file called C:\Temp\TestOutput.txt. From my desk, the reading and writing of the text file seems to be okay.

Yes, I have had some coffee this morning so I know I'm not hallucinating from lack of the Nobel Bean. :)

Re: Read from Text file does not work with miabuild

Posted: Mon Apr 30, 2012 3:11 am
by mikKummerfeld
I am writing the content of a local text file (version number) into a variable.

with IA : $versionx$ is 1.0.3.15002
with miabuild: $versionx$ is EMPTY

Re: Read from Text file does not work with miabuild

Posted: Mon Apr 30, 2012 9:11 am
by FrancescoT
Dear Heiko,

I have tested the sample provided by Peter ( ...many thanks :D ) ... and works fine with Miabuild too.

Have you tested it?

Regards