Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build success from source using Eclipse Modeling Tools version 2024-03 #181

Open
wzj7531 opened this issue Jun 6, 2024 · 12 comments

Comments

@wzj7531
Copy link

wzj7531 commented Jun 6, 2024

I am wondering if anyone has successfully compiled 4diac-ide from source.
According to the documentation, I have tried many times, but none were successful. i installed both M2E and Xtext Complete SDK, jdk 17 has been installed, It seems that the prerequisites are in place. Next, import 4diac-ide project, resolve api baseline problem, and waiting for resolve depencencies.... Unfortunately, some dependencies cannot be retrieved remotely:
Snipaste_2024-06-06_15-31-22
No repository found containing: osgi.bundle, org.apache.commons.lang.source, 2.6.0.v2014270220
seesion context was:(profile=TARGET_DEFINITION:resource:/org.eclipse.fordiac.ide.product.target,phase=org.eclipse.equinox.internal.p2.engion.phases.Collect, oprand=,action-).
So, some can help to solve it?

@azoitl
Copy link
Contributor

azoitl commented Jun 6, 2024

I'm assuming you are trying to build the current release branch from source. We just recently noticed that there are to many dependency conflicts that prevent that.

However I would anyhow not recommend to build the latest release branch. Depending on what you want to do I would mostly recommend the development branch. There all dependencies are up to date and you also have hundreds of new features and bug fixes.

The update documentation how to build from source can be found here: https://github.com/eclipse-4diac/4diac-documentation/blob/main/src/development/building4diac.asciidoc

@wzj7531
Copy link
Author

wzj7531 commented Jun 6, 2024

Thanks , i will try it

@wzj7531
Copy link
Author

wzj7531 commented Jun 7, 2024

After repeated attempts, I think I am about to succeed. All dependencies resolved, but here the last build error:
1
I don't have much experience with Java. So,how can i resolve the "Abstract method does not specify a body" error?

@wzj7531
Copy link
Author

wzj7531 commented Jun 7, 2024

After modify Xtend Settings like this:
2
Only two errors remain:
3
So, how to fix it? @azoitl

@azoitl
Copy link
Contributor

azoitl commented Jun 9, 2024

For me it looks like you have some outdated branch of 4diac IDE source code. As I written above when you want to build 4diac IDE from source please use either the latest develop or freeze branch. In that branches also all Java settings are part of the plugins and you don't have to set anything manually.

The problem you are seeing in your last screen shot happes because one of our libraries changed. This is fixed for quite some time in develop or freeze branch.

@wzj7531
Copy link
Author

wzj7531 commented Jul 2, 2024

For me it looks like you have some outdated branch of 4diac IDE source code. As I written above when you want to build 4diac IDE from source please use either the latest develop or freeze branch. In that branches also all Java settings are part of the plugins and you don't have to set anything manually.

The problem you are seeing in your last screen shot happes because one of our libraries changed. This is fixed for quite some time in develop or freeze branch.

OK I'll try it.

@wzj7531
Copy link
Author

wzj7531 commented Jul 2, 2024

@azoitl Does the ui of ide build from repo same as the ui in the document figure?

@azoitl
Copy link
Contributor

azoitl commented Jul 2, 2024

@azoitl Does the ui of ide build from repo same as the ui in the document figure?

Could you please elaborate a bit more. I fear I can not follow you.

@wzj7531
Copy link
Author

wzj7531 commented Jul 4, 2024

@azoitl Does the ui of ide build from repo same as the ui in the document figure?

Could you please elaborate a bit more. I fear I can not follow you.

Nevermind, i have found answer. Like you said, you have removed the deployment perspective some versions ago...
But which version ide has the development perspective?

@azoitl
Copy link
Contributor

azoitl commented Jul 4, 2024

@wzj7531 I don't know by heart but I would say about 4-5 years ago in one of the last 1.x version.

The reason for removing it was that it was very bad from a workflow / usability view point. We are here continuously working on reducing the number of clicks necessary to deploy.

In the latest preview versions you can even setup deployment configurations and easily start these.

@wzj7531
Copy link
Author

wzj7531 commented Jul 5, 2024

@wzj7531 I don't know by heart but I would say about 4-5 years ago in one of the last 1.x version.

The reason for removing it was that it was very bad from a workflow / usability view point. We are here continuously working on reducing the number of clicks necessary to deploy.

In the latest preview versions you can even setup deployment configurations and easily start these.

I have tried one by one, found that 1.12.2 is the last version that have the development perspective. By the way, the forte 1.12.0 has bugs if add modbus function.

@azoitl
Copy link
Contributor

azoitl commented Jul 5, 2024

@wzj7531 I don't know by heart but I would say about 4-5 years ago in one of the last 1.x version.
The reason for removing it was that it was very bad from a workflow / usability view point. We are here continuously working on reducing the number of clicks necessary to deploy.
In the latest preview versions you can even setup deployment configurations and easily start these.

I have tried one by one, found that 1.12.2 is the last version that have the development perspective. By the way, the forte 1.12.0 has bugs if add modbus function.

We don't have capacities to maintain old versions. Especially the modbus code was reworked and improved a lot by @kumajaya. Therefore I can only again strongly recommend to use the latest development versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants