debugging lib paths
This commit is contained in:
parent
20b8433d34
commit
49147a4edd
@ -336,6 +336,7 @@ func (i *InstanceManager) InstallFabric(instance string, fabricVersion string) {
|
|||||||
client:
|
client:
|
||||||
for _, lib := range metadata.LauncherMeta.Libraries.Client {
|
for _, lib := range metadata.LauncherMeta.Libraries.Client {
|
||||||
tokens := strings.Split(ProcessMavenPath(lib.Name), string(os.PathSeparator))
|
tokens := strings.Split(ProcessMavenPath(lib.Name), string(os.PathSeparator))
|
||||||
|
fmt.Printf("processing lib %s as path %s with %d tokens", lib.Name, ProcessMavenPath(lib.Name), len(tokens))
|
||||||
pkg := tokens[len(tokens)-2]
|
pkg := tokens[len(tokens)-2]
|
||||||
instanceObject.Libraries = append(instanceObject.Libraries, filepath.Join(ProcessMavenPath(lib.Name), ProcessMavenFilename(lib.Name)))
|
instanceObject.Libraries = append(instanceObject.Libraries, filepath.Join(ProcessMavenPath(lib.Name), ProcessMavenFilename(lib.Name)))
|
||||||
for ind, path := range instanceObject.Libraries {
|
for ind, path := range instanceObject.Libraries {
|
||||||
|
Loading…
Reference in New Issue
Block a user