Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hibachi-dev] Problems with creating and managing projects

Luke,

Nicolas is correct. Unmanaged projects exist to allow developers for an existing project (which is built using a GNAT project file) to migrate their project to Hibachi by simply specifying the project file that Hibachi should use when performing the build. In this case, Hibachi does not manage build settings at all, it simply invokes gprmake using the specified project file.

It was our plan to eventually do away with unmanaged projects, and instead create an import mechanism that could read the build settings from a GPR file, and create the equivalent "managed" project. However, that hasn't been implemented yet.

Adam Haselhuhn

----- Original Message ----- From: "Nicolas Setton" <setton@xxxxxxxxxxx>
To: "Hibachi Dev list" <hibachi-dev@xxxxxxxxxxx>
Sent: Thursday, April 10, 2008 2:32 PM
Subject: Re: [hibachi-dev] Problems with creating and managing projects


Welcome to the list, Luke!

I created a "hello_world" un-managed app, added the hello_world.adb
procedure, painless enough. Can't build it though. I get this error:

(hello_world:debug) Launching GNAT build.
org.eclipse.core.runtime.CoreException: Error: GNAT project file does
not exist.  Check build settings for active configuration.

I'm probably missing something as I'm not all that *up* on Eclipse. I
did find a place in the managed project where you can set the "main"
files for a poject, but the un-managed project doesn't seem to have
this.


This is more or less expected (if I understood correctly): the "un- managed" means that Eclipse does not fiddle with your project file: you'll have to do it yourself. On the other hand, if you want to do a "hello_world" project, you probably want to go with the managed project: once you have set up your main files, you should be able to build and run easily.

Nicolas
_______________________________________________
hibachi-dev mailing list
hibachi-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/hibachi-dev



Back to the top