-
Bug
-
Resolution: Done
-
Major
-
2.1.1.Final
-
None
With the following code
@Inject @WithAttributes(shortName = 's', label = "source", required = true, type = InputType.JAVA_CLASS_PICKER) private UIInput<JavaResource> source;
Assume the following directory structure:
x/y/src/main/java/x.java
- Start forge in folder X.
- cd to some sub folder Y
- trigger the 'source' field
- command --source src/main/java/x.java
The JavaResource fail to resolve the underlying file as it's pointing to:
X/src/main/java/x.java
It seems it's missing the updated 'current dir' and only resolve from 'original working dir'
- relates to
-
FORGE-2170 Forge addon-build-and-install doesn't work with wildcards "." "~"
- Closed