running `./pants compile mather/src/main/scala:add...
# general
c
running
./pants compile mather/src/main/scala:adder
works
a
what happens when you run
./pants list ::
in that directory?
also, what happens when you run
./pants export ::
-- does it print out a big json object?
c
Copy code
$ patns-demo >  ./pants list ::                                                                                                                                                                                         
mather/src/main/scala:adder
Copy code
17:18:39 [WARN] No default jvm platform is defined.
{
    "version": "1.0.10",
    "targets": {
        "mather/src/main/scala:adder": {
            "targets": [],
            "libraries": [],
            "roots": [
                {
                    "source_root": "/absolute/path/to/pants-demo/mather/src/main/scala/com/kaoruk",
                    "package_prefix": "com.kaoruk"
                }
            ],
            "id": "mather.src.main.scala.adder",
            "target_type": "SOURCE",
            "is_code_gen": false,
            "is_synthetic": false,
            "pants_target_type": "jvm_binary",
            "globs": {
                "globs": [
                    "mather/src/main/scala/**/*.scala"
                ]
            },
            "transitive": true,
            "scope": "default",
            "is_target_root": true,
            "excludes": [],
            "platform": "(DistributionLocator.cached().version 1.8)"
        }
    },
    "jvm_platforms": {
        "default_platform": "(DistributionLocator.cached().version 1.8)",
        "platforms": {}
    },
    "preferred_jvm_distributions": {},
    "libraries": {}
}
a
which version of the intellij plugin are you using?
also, what happens if you try
./pants idea-plugin ::
?
c
1.13.0
that command sends me over to intellj
a
is it possible for you to try a newer version in this project? there have been lots of changes since then
yes, i want to see whether the import that happens from the
idea-plugin
command somehow works even if the dialog doesn't
c
oh wait it's doing stuff now
oh nice okay, looks like that worked
a
the
idea-plugin
one?
c
yah
a
awesome!!
i don't know why that didn't work at the start though
if this happens again and
idea-plugin
doesn't work, please try asking this channel again!
c
yeah, I was following the instructions here: https://github.com/pantsbuild/intellij-pants-plugin
different question, what does
::
mean?
a
it is a recursive target glob! everything under that directory -- without a prefix, just every target in the repo
c
ah great, thank you for your help!
a
no problem!!!