SBuild-org / sbuild

SBuild - The magic-free yet powerful build tool.
sbuild.org
Apache License 2.0
15 stars 3 forks source link

Improve classloading of additional classpath elements #2

Closed lefou closed 10 years ago

lefou commented 10 years ago

The initial way through a separate classloader has some currently some issues.

As awork around, we load the main twice, but the second time with an extended classloader. This features is enabled with the @--use-classloader-hack@ switch. But this solution is not nice.

Task is, to understand the issues with the "normal" classloading approach and fix them.

Ticket imported form Redmine http://sbuild.tototec.de/sbuild

Original Redmine issue link: Redmine ID 2 Reporter: Tobias Roeser => @lefou Creating date: 2012-03-30T08:57:16+02:00

Assigned to: Tobias Roeser => @lefou Start date: 2012-03-30 Due date: 2012-04-12

lefou commented 10 years ago

Problem solved. Splitted SBuild core and SBuild Ant support and load SBuild Ant support only with project classloader. The classloader hack commandline switch was no longer needed and removed.

Comment imported from Redmine http://sbuild.tototec.de/sbuild/issues/2 Author: Tobias Roeser => @lefou Creating date: 2012-04-12T11:05:58+02:00

lefou commented 10 years ago

Comment imported from Redmine http://sbuild.tototec.de/sbuild/issues/2 Author: Tobias Roeser => @lefou Creating date: 2012-09-16T15:27:19+02:00