No deploy on save, no compile on edit

Issue #125 resolved
Michael Hoefer created an issue

Everything seems to be set up, but nothing happens when I save, or edit the file. IC is configured to deploy on save, compile on edit (the default setup). Nothing happening in the log.

On latest IntelliJ, Mac OS X, Java 8:

2015-10-01 17:55:10,701 [ 26] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-141.2735.5, 22 Sep 2015 00:00) 2015-10-01 17:55:10,701 [ 26] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.11, x86_64) 2015-10-01 17:55:10,701 [ 26] INFO - #com.intellij.idea.Main - JRE: 1.8.0_31-b13 (Oracle Corporation) 2015-10-01 17:55:10,702 [ 27] INFO - #com.intellij.idea.Main - JVM: 25.31-b07 (Java HotSpot(TM) 64-Bit Server VM) 2015-10-01 17:55:10,708 [ 33] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/IntelliJ IDEA 14.app/Contents/bin/idea.vmoptions -Didea.java.redist=NoJavaDistribution -Didea.home.path=/Applications/IntelliJ IDEA 14.app/Contents -Didea.executable=idea -Didea.paths.selector=IntelliJIdea14 2015-10-01 17:55:10,730 [ 55] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 22 ms

Comments (7)

  1. Scott Wells repo owner

    Michael, take a look at the comment I just added on your other issue. I'm strongly inclined to think this is attributable to an environmental issue. Also, can you verify that your IDEA project is set up so that the IC module's content root is a child or descendant of the project root dir? It should be something like:

    /path/to/projectRoot
        /moduleRoot
            /src
        /IlluminatedCloud
            /connectionNameDir
                /OfflineSymbolTable
    
  2. Michael Hoefer reporter

    In my case, at the moment at least, I have:

    /root/
        src/
            package.xml
            ...
        IlluminatedCloud/
        ...   
    

    Would that be a problem? It is a one-module project, so no need for a module subdir.

  3. Scott Wells repo owner

    Unfortunately because the offline symbol table is set up as a library, it can't be at the same level as the module root. The module root needs to be down at least one level. Also, how did you set up your module? Illuminated Cloud has its own module type so if you're using the Java module type from before, you'll need to recreate it. Otherwise the plugin won't get fully engaged.

  4. Michael Hoefer reporter

    Good news here. I'm not sure what did it really, but after I recreated the project, copied the source code into a subdirectory, the. I think created a new IC module, pointing to my source code module...it all started working.

    Not ideal, rather confusing. Most people using this will have an existing code base so smoothing this out will be worth it. Cheers!

    --

    Michael Hoefer VP Engineering STEELBRICKCPQ

    O:+1 6506277030 x133 mhoefer@steelbrick.com

    STEELBRICKis a Titanium Sponsor at Dreamforce ’15.Don’t miss it.

  5. Scott Wells repo owner

    Glad to hear you got it going. I agree it was far from a smooth "front door" experience for you. I appreciate you reaching out and giving me a chance to help you through it. Fortunately most of the existing users haven't been coming from a background of using IntelliJ IDEA to develop Force.com code and don't hit these issues, though there have been a few folks who have tried to import existing Eclipse Force.com IDE project into IDEA and have hit similar issues. I'll definitely see what I can do to make this simpler by transforming existing modules in-place into the correct form, prompting to reassociate file extensions, etc. There's no doubt that the first impression is critical!

    Keep me posted as you continue to dig into it!

  6. Log in to comment