Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Update Tapestry#1684

Closed
mcocciaTE wants to merge 7 commits intoTechEmpower:masterfrom
mcocciaTE:based2-patch-2
Closed

Update Tapestry#1684
mcocciaTE wants to merge 7 commits intoTechEmpower:masterfrom
mcocciaTE:based2-patch-2

Conversation

@mcocciaTE
Copy link
Copy Markdown
Contributor

No description provided.

@mcocciaTE
Copy link
Copy Markdown
Contributor Author

Woops wanted to test on my own fork first but this is to fix/replace #1548 if passes I believe #1547 can be merged as well and #1548 can be closed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little nit-pick: resin-java8 would conform a bit better to install file conventions.

Convention is also to have the install name match the .installed name. There may be issues since resinJava8 != resin-4.0.41. Not catastrophic, but this will cause the toolset to always install resinJava8 even if it is already installed.

Recommendation: use resin-java8 and touch resin-java8.installed on this commented line.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. If we have to lock down the java version prior to installing resin, it would be better to just remove the line fw_depends java7 from resin.sh and rely on the caller explicitly setting the java version desired via fw_depends java7 resin or fw_depends java8 resin, instead of creating resin-java8.sh. Perhaps we could replace fw_depends java7 with a check that either java7.installed or java8.installed exists and fail if that is not true just as one sanity check

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed this offline and apparently resin needs to be compiled with the same java runtime that is used to invoke it. So, this resin-java8 must exist unless we move EVERYTHING to java8 explicitly. Very annoying.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to be removed completely.

@mcocciaTE
Copy link
Copy Markdown
Contributor Author

looks like a lot of unrelated tests failed in travis.

@blee-techempower
Copy link
Copy Markdown
Contributor

Localtest failed. ( http://sprunge.us/fUNM )
Please resolve the issue.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines need to be replaced by fw_depends java8 resin-java8

@msmith-techempower
Copy link
Copy Markdown
Member

@ssmith-techempower See if you can make a branch off of this PR and get it updated to work.

EDIT: You will want to rebase off our master, as well.

@msmith-techempower
Copy link
Copy Markdown
Member

Unrelated: does anyone know why this PR is called "Based2 patch 2"?

EDIT: Figured it out; it means to fix up #1547 started by user based2

@msmith-techempower
Copy link
Copy Markdown
Member

Closing in favor of #1816

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants