-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help debugging alternate issue #184
Comments
@ggrangel I'm not sure if it's the best way, but it's working for me: ['pom.xml|build.gradle|settings.gradle'] = {
-- projections for java
['src/main/java/*.java'] = {
type = "source",
alternate = { "src/test/java/{}Test.java", "src/test/java/{}ITCase.java", "src/test/java/{}Tests.java",
"src/test/java/{}IT.java" },
},
['src/test/java/*Test.java'] = {
type = "test",
alternate = "src/main/java/{}.java"
},
['src/test/java/*IT.java'] = {
type = "test",
alternate = "src/main/java/{}.java"
},
['src/test/java/*Tests.java'] = {
type = "test",
alternate = "src/main/java/{}.java"
},
['src/test/java/*ITCase.java'] = {
type = "test",
alternate = "src/main/java/{}.java"
}
}, |
Using Instead, try something like |
I have the following folder structure:
-
src/main/java/com/ggrangel/jaguar/recorder/br/client/fiorino/FiorinoClientWrapperImpl.java
-
src/test/java/com/ggrangel/jaguar/recorder/br/client/fiorino/FiorinoClientWrapperImplTest.java
And the following config:
In the source file, I can alternate to the test. However, in the test, I get the following error:
No alternate file
(and it doesn't give me an option to create one).Also, if I change the second line of config from
["*"]
to["*.java"]
, nothing works anymore:What am I missing?
The text was updated successfully, but these errors were encountered: