Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

SWARM-578: Introduce FileSystemLayout abstraction #60

Merged
merged 2 commits into from
Aug 4, 2016

Conversation

heiko-braun
Copy link
Contributor

Supports the IDE:run cases by providing abstraction to resolve gradle and maven specific file systems locations.

@heiko-braun
Copy link
Contributor Author

heiko-braun commented Aug 4, 2016

@bobmcwhirter Here's the abstraction we talked about the other day. It's only used for the IDE:run cases. In the most simple case, it will implicitly use the 'user.dir' system property:

fsLayout = FileSystemLayout.create();
Path p = fsLayout.resolveBuildClassesDir();
[...]

@heiko-braun heiko-braun changed the title Introduce FileSystemLayout abstraction SWARM-578: Introduce FileSystemLayout abstraction Aug 4, 2016
@kenfinnigan
Copy link
Member

Would it make sense to move the FS layout classes from /bootstrap to /container?

there's no guarantee that the bootstrap module will be loaded in anything other than an uber jar situation, as container module only has an optional dep on bootstrap module. And every fraction definitely has a dependency on the container module.

@bobmcwhirter
Copy link
Contributor

Container does have a maven dep on bootstrap so it should transitive
around.

The module dep is optional only because the bootstrap module doesn't have a
real module.xml and that freaks out the fraction plugin. It's always
available.

Sent from my iPhone

On Aug 4, 2016, at 5:56 AM, Ken Finnigan notifications@github.com wrote:

Would it make sense to move the FS layout classes from /bootstrap to
/container?

there's no guarantee that the bootstrap module will be loaded in anything
other than an uber jar situation, as container module only has an optional
dep on bootstrap module. And every fraction definitely has a dependency on
the container module.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#60 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA-T6BXivU790v5RFnhvefMCS7cGTiyks5qcbdngaJpZM4Jcbyx
.

@heiko-braun
Copy link
Contributor Author

heiko-braun commented Aug 4, 2016

I can't really remember why I moved it there. But I agree, /container seems to be more sensible.

@heiko-braun
Copy link
Contributor Author

retest this please

@gastaldi
Copy link
Contributor

gastaldi commented Aug 4, 2016

:lgtm:


Comments from Reviewable

@heiko-braun heiko-braun merged commit dcd49d1 into thorntail:master Aug 4, 2016
@heiko-braun heiko-braun deleted the SWARM-578 branch August 4, 2016 12:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants