Attempting to create an Apex class prior to connection association fails

Issue #2536 open
René Görgens created an issue

Hi Scott,

In the context of testing #2535, I simply wanted to create an Apex class even prior to having an OST (in order to see the line endings on the locally created file).

However, Apex class creation without OST fails with: Failed to find a builder for directory ".

Once the OST is created, it works normally. If the OST is a prerequisite, the error message should be more telling I guess.

Comments (4)

  1. Scott Wells repo owner
    • changed status to open

    Hi. That's actually not about an OST not being generated; it's about the project not being associated with a connection yet. You shouldn't need an OST for metadata creation or even deployment/retrieval/removal to work. That's just needed for completion/resolution of standard/system/packaged symbols and similar.

    I suppose that the message could be more straightforward to the end user, though since IC2 doesn't really support an "offline mode", it's broadly expected that a connection is selected for the project before many actions are allowed or will succeed.

  2. Log in to comment