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

JBIDE-18186 - support for module-alias in modules.xml inside wildfly/eap #263

Merged
merged 1 commit into from Aug 29, 2014

Conversation

robstryker
Copy link
Member

No description provided.

File modulexml = new File(layeredPath, "module.xml");
String alias = new ModuleAliasUtil().getAlias(modulexml);
if( alias != null ) {
return new ModuleSlot(alias).getJars(modulesFolder);
Copy link
Member

Choose a reason for hiding this comment

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

what happens if this alias points to a chain of module alias to the same folder ? this would be an endless loop....too arcance to think it will happen ?

Copy link
Member Author

Choose a reason for hiding this comment

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

It definitely could happen, though it'd represent a broken installation and probably not happen often at all ;) I can work on adding more careful checking for cr2 to detect loops...

@robstryker robstryker merged commit e273934 into jbosstools:master Aug 29, 2014
@robstryker robstryker deleted the JBIDE-18186 branch November 6, 2014 10:18
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.

None yet

2 participants