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

Oomph setup #677

Merged
merged 8 commits into from
Nov 4, 2021
Merged

Oomph setup #677

merged 8 commits into from
Nov 4, 2021

Conversation

ruspl-afed
Copy link
Contributor

Initial version of setup script
Target definition uses existing file but not yet activated for some reason

Initial edition provided by Ed @merks

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Added branding
Installed m2e
Changed "no baseline" to warning
Moved JRETask to master stream

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Move incomplete targlet to disabled stream
Correct oomph redirection
Add project import
Add pde:TargetPlatformTask (does not activate target for some reason)

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
@merks
Copy link
Contributor

merks commented Nov 1, 2021

You have to use the value of the name attribute, not the file name:

<target includeMode="feature" name="BIRT Photon target platform">

It's looked up like this:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.util.pde/src/org/eclipse/oomph/util/pde/TargetPlatformUtil.java#n246

Use target name for pde:TargetPlatformTask

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
@ruspl-afed
Copy link
Contributor Author

You have to use the value of the name attribute, not the file name:

Thank you Ed @merks , it works after switching to attribute name

@ruspl-afed
Copy link
Contributor Author

@wimjongman I have "just" 113 compilation errors after applying this script that hopefully not related with script itself, please have a look.

@wimjongman
Copy link
Contributor

Are the compilation errors in a test bundle?

@ruspl-afed
Copy link
Contributor Author

@wimjongman with #678 applied I have 89 Java errors all in org.eclipse.birt.report.viewer.tests/test/org/eclipse/birt/report/viewer/mock

@wimjongman
Copy link
Contributor

Thanks! Please see the windowbuilder README.MD file. Can you add an entry like that?

https://github.com/eclipse/windowbuilder/blob/master/README.md#2-create-an-eclipse-development-environment

@wimjongman
Copy link
Contributor

@wimjongman with #678 applied I have 89 Java errors all in org.eclipse.birt.report.viewer.tests/test/org/eclipse/birt/report/viewer/mock

Should be fixed with #680

Add information to README.MD

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Convert README.MD back to LF

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Convert README.MD back to CRLF

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
@ruspl-afed
Copy link
Contributor Author

Thanks! Please see the windowbuilder README.MD file. Can you add an entry like that?

https://github.com/eclipse/windowbuilder/blob/master/README.md#2-create-an-eclipse-development-environment

@wimjongman you can have a look here: https://github.com/eclipse/birt/tree/oomph_setup

@wimjongman
Copy link
Contributor

I get an error message:
firefox_jTTfqTt3l3

@ruspl-afed
Copy link
Contributor Author

I'm afraid we can test it only after merging, since the URL has reference to master. Or do you want me to remove readme change and create dedicated PR @wimjongman ?

@wimjongman
Copy link
Contributor

@ruspl-afed
Copy link
Contributor Author

Here is the URL with reference to oomph_setup branch

https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse/birt/oomph_setup/build/org.eclipse.birt.releng/BIRT.setup&show=true

Ooops. You are right. I think you need to click "next" on installer to go to "Project" page and then apply the URL. On the page from screenshot you selects what product should "host" the install.

@wimjongman
Copy link
Contributor

Yes, on the second page I have to create a project with this setup URL. For windowbuilder I don't need to do that...

The second setup task asks me to install wtp. Should we not begin with that if it is required?

@wimjongman
Copy link
Contributor

Can we also apply the project set file from the root of the directory?

@ruspl-afed
Copy link
Contributor Author

For windowbuilder I don't need to do that

I'll take a look what is the magic there

The second setup task asks me to install wtp

No idea why, never seen this before. But I was testing it via Eclipse Installer

image

Can we also apply the project set file from the root of the directory?

It somehow managed to escape my pattern "In same repository as org.eclipse.birt"

@ruspl-afed
Copy link
Contributor Author

For windowbuilder I don't need to do that

I'll take a look what is the magic there

I looked at the windowbuilder script. WindowBuilderConfiguration.setup is a kind of wrapping "Product" script around another "Project" script WindowBuilder.setup

Currently we have only "Project" script for BIRT and need to add a "Product" one to make this button fully usable

@wimjongman
Copy link
Contributor

Ok, #680 is merged and a good bunch of tests is running again. I'm moving on to fixing the next set of tests. With #680 merged, we should see no more errors after oomph is done.

@wimjongman
Copy link
Contributor

Alexander, can you rebase this one?

@wimjongman
Copy link
Contributor

Good to go, Alexander?

@ruspl-afed
Copy link
Contributor Author

Wim, I would merge it.
And then I can try to create another one for "Product".

@wimjongman wimjongman merged commit 668a069 into master Nov 4, 2021
@wimjongman wimjongman deleted the oomph_setup branch November 4, 2021 16:21
@wimjongman
Copy link
Contributor

Thanks!!!

By the way, "Signed-off-by:" is no longer required.

@wimjongman wimjongman linked an issue Nov 4, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Create Eclipse Installer setup for BIRT
3 participants