[ref_impl_eiffel] problem compiling adl_workbench

Hi, Peter,

I have some problems compiling the ADL workbench. I tried two versions.
One from BRANCHES/specialisation, I get 4 compiler-errors. Do you want
to know them.
(maybe it is a code-tree for developing purposem, not for public)

The TRUNK version does not open the ECF. It gives an error while
opening the project:
TRUNK/apps/adl?workbench?ecf: 1:2 parse error

I am using EiffelStudio 6 (6.1.7.1223 GPL Edition - linux-x86)

What can I do? is the compiled version on the website actual?
(I could use that, but still I would be pleased to ahve a compilable
version for myself.)

Thanks
Bert

Bert Verhees wrote:

I have some problems compiling the ADL workbench. I tried two versions.
One from BRANCHES/specialisation, I get 4 compiler-errors.

Good to hear from you, Bert!

Thomas and I have merged BRANCHES/specialisation into the TRUNK, which is
where we are now working. We no longer work in that branch.

The TRUNK version does not open the ECF. It gives an error while
opening the project:
TRUNK/apps/adl?workbench?ecf: 1:2 parse error

I am using EiffelStudio 6 (6.1.7.1223 GPL Edition - linux-x86)

That's not the final release of EiffelStudio 6.1. They fixed at least one
bug that affects us; maybe I did a work-around for that, but I think it's
safest if you install 6.1.7.1477 from
http://eiffelstudio.origo.ethz.ch/download.

What can I do? is the compiled version on the website actual?

The version at
https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases
was built on 2nd April from revision 595. We're now up to revision 626,
which includes some bug fixes:

          o In the Flat view of a specialised archetype, attribute paths
were missing.
          o On the Statistics tab, the Slots counts were not updated
correctly.
          o Clicking the Parse button did not re-parse an already-parsed
archetype, despite the user editing the ADL file.
          o On Linux and Mac only:
                + Opening an archetype ad-hoc did not show it in the
explorer tree.
                + Double-clicking an archetype in the Errors or Slots tabs
did not show it in the explorer tree.

So you would probably prefer revision 626 rather than 595 :slight_smile:

But I don't think this is the problem you are having. When I build on Linux,
I use the adl_workbench_no_precompile target. I started doing this in
revision 614; it was necessitated by a work-around that I added for a bug in
EiffelStudio's EV_TREE_IMP class on Linux and Mac. I think this may be the
cause of your problem.

Hopefully choosing the adl_workbench_no_precompile target will fix your
problem, but it would be wise to install 6.1.7.1477 too.

- Peter

That's not the final release of EiffelStudio 6.1. They fixed at least one
bug that affects us; maybe I did a work-around for that, but I think it's
safest if you install 6.1.7.1477 from
http://eiffelstudio.origo.ethz.ch/download.

Thanks for your swift reply, I update right away

regards
Bert

Peter Gummer schreef:

Bert Verhees wrote:
  

I have some problems compiling the ADL workbench. I tried two versions.
One from BRANCHES/specialisation, I get 4 compiler-errors.
    
Good to hear from you, Bert!
  

I hope to let hear of me a lot more, in short time.
I just finished a lot of work, and only need to solve one (but maybe
big) problem to have a working (rudimentary) OpenEhr based information
system.

Bert

Peter,

I downloaded and installed the new version, first the problem did not
disappear, but further analysis showed that the previous version had
damaged the ecf-file. So I restored it from the SVN-repository and now
it opens fine

Thanks for the advise
Bert

Bert Verhees schreef:

Peter,

I downloaded and installed the new version, first the problem did not
disappear, but further analysis showed that the previous version had
damaged the ecf-file. So I restored it from the SVN-repository and now
it opens fine
  

Just for the record
ADL_workbench compiles and runs without any problem in Linux OpenSuse,
and EiffelStudio 6 (6.1.7.1477 GPL Edition - linux-x86)

thanks again
Bert