Not sure if this is a feature or bug but I'd like to know so I can depend on it or look for another method.
I have a CustomBuildAction that calls another Jar (to do some work) during the build. The other Jar references File.DirApp in its code.
What I have noticed is that File.DirApp (in the other Jar being called) appears to be the directory of the B4J project I am working in and not the other Jar I am calling.
So to clarify, I am in a B4J project for ABC. The CustomBuildAction calls XYZ.JAR with no parameters. If I output File.DirApp from XYZ.jar during the CustomBuildAction it is showing the directory for ABC.
Is this a bug or a feature? The behaviour is desirable but I just want to make sure it is correct.
I have a CustomBuildAction that calls another Jar (to do some work) during the build. The other Jar references File.DirApp in its code.
What I have noticed is that File.DirApp (in the other Jar being called) appears to be the directory of the B4J project I am working in and not the other Jar I am calling.
So to clarify, I am in a B4J project for ABC. The CustomBuildAction calls XYZ.JAR with no parameters. If I output File.DirApp from XYZ.jar during the CustomBuildAction it is showing the directory for ABC.
Is this a bug or a feature? The behaviour is desirable but I just want to make sure it is correct.