Révision 3620
TXM/trunk/org.txm.groovy.core/src/groovy/org/txm/macro/debug/JarVersionsMacro.groovy (revision 3620) | ||
---|---|---|
1 |
// Copyright © 2023 ENS Lyon |
|
2 |
// Licensed under the terms of the GNU General Public License version 3 (http://www.gnu.org/licenses/gpl-3.0.html) |
|
3 |
// @author sheiden |
|
4 |
|
|
5 |
// STANDARD DECLARATIONS |
|
6 |
package org.txm.macro |
|
7 |
|
|
8 |
def printClassPath(classLoader) { |
|
9 |
classLoader.getURLs().each {url-> |
|
10 |
path = url.getPath() |
|
11 |
if (!(path ==~ /.*\/$/)) println path |
|
12 |
} |
|
13 |
} |
|
14 |
printClassPath this.class.classLoader |
Formats disponibles : Unified diff