Saving .p .w .i .htm in UNIX Format

JamesBowen

19+ years progress programming and still learning.
Hi All.

I have a problem that I use the AppBuilder to develop:o. Is it possible to hook into the "AppBuilder's Save" to save a file a in the UNIX format.

The reason I need to Save the file as UNIX is because other developers I work with use the UNIX CHI editor to develop in. When I edit files CVS complains about the previous files are in different File format.

Currently I could I am having to run dos2unix on each file I touch.

There has got to be an easer way of doing what I am currently doing.

James.
 
In the src (machine developing on). Simply edit and develop the code. Output to a flat file (text file) e.g. Unix machine. Open the created src on the Windows machine applying appropriate formatting as required. The Progress / OpenEdge compiler will be consistent.
 
Hello James,

Is it possible to hook into the "AppBuilder's Save"
Yes. The adecomm/_adeevnt.p provides you with hooks to ADE events.

We've used it in the past to build a mini CVS, save back several versions, separate r-code to their separate dirs etc.

Is it happening because of new line differences ?
 
Back
Top