Proper way to use a locally built CE to program with.

When trying to program using a build of the Community Edition which was built from the Community Edition source (IC133.193) on my machine,  the following happens-

I build the Community Edition (133.193) and everything is fine. I then launch that CE from within the IDE I built it in (IJ Ultimate) by pressing RUN. CE launches and seems to work fine. However, I can't compile any simple class I write using CE from with CE.  So that means, for any simple HelloWorld applicaiton I write, I get the error included below. I also posted the relevant log file.

I have an idea that the issue is I need to launch the build CE using its own launcher instead of from within the Ultimate IDE. However, when I go to the apparent launcher located at

..myBuild)\bin\WinLauncher WinLauncher64.exe

and try to use it, all that happens is a splashscreen flashes momentarily then I get an error pane titled "Error launching Intellij Platform" with a message that says "cannot find VM options file" . I have tried copying the existing (from the Ultimate Edition) vmoptions file (both 32 and 64 bit) to  the bin directory of the CE build:

..myBuild)\bin)

and also for good measure to the folder of WinLauncher lives in:

..myBuild)\bin\WinLauncher

but the error message stays the same.

I am stuck, and not sure what next to try.


Below is  the error message that's throw , then the relevant part of the log file that's created, when I try to build any simple HelloWorld application using CE built then launched from within Ultimate using  Ultimate's  Build->Run

ERROR_START

Internal error: (java.util.ServiceConfigurationError) org.jetbrains.jps.model.serialization.JpsModelSerializerExtension: Provider org.jetbrains.jps.intellilang.model.impl.JpsIntelliLangModelSerializerExtension not found
java.util.ServiceConfigurationError: org.jetbrains.jps.model.serialization.JpsModelSerializerExtension: Provider org.jetbrains.jps.intellilang.model.impl.JpsIntelliLangModelSerializerExtension not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:214)
    at java.util.ServiceLoader.access$400(ServiceLoader.java:164)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:350)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:421)
    at org.jetbrains.jps.service.impl.JpsServiceManagerImpl.getExtensions(JpsServiceManagerImpl.java:59)
    at org.jetbrains.jps.model.serialization.JpsModelSerializerExtension.getExtensions(JpsModelSerializerExtension.java:46)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.getSdkPropertiesSerializer(JpsSdkTableSerializer.java:205)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.loadSdk(JpsSdkTableSerializer.java:99)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.loadSdks(JpsSdkTableSerializer.java:80)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader$SdkTableSerializer.loadExtension(JpsGlobalLoader.java:144)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader$SdkTableSerializer.loadExtension(JpsGlobalLoader.java:137)
    at org.jetbrains.jps.model.serialization.JpsLoaderBase.loadComponents(JpsLoaderBase.java:59)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalComponents(JpsGlobalLoader.java:83)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.load(JpsGlobalLoader.java:73)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalSettings(JpsGlobalLoader.java:59)
    at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:38)
    at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:45)
    at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:71)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:198)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

ERROR_END

Here's the relevant LOG section:

LOG_START
------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-07-04 06:29:04,528 [    154]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-133.SNAPSHOT, 04 Jul 2014 06:04)
2014-07-04 06:29:04,528 [    154]   INFO -        #com.intellij.idea.Main - OS: Windows 7 (6.1, amd64)
2014-07-04 06:29:04,528 [    154]   INFO -        #com.intellij.idea.Main - JRE: 1.6.0_35-b10 (Sun Microsystems Inc.)
2014-07-04 06:29:04,528 [    154]   INFO -        #com.intellij.idea.Main - JVM: 20.10-b01 (Java HotSpot(TM) 64-Bit Server VM)
2014-07-04 06:29:04,561 [    187]   INFO -        #com.intellij.idea.Main - JVM Args: -ea -Xbootclasspath/p:../out/classes/production/boot -Xmx192m -Didea.is.internal=true -XX:MaxPermSize=150m -Didea.launcher.port=7534 -Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.2\bin -Dfile.encoding=UTF-8
2014-07-04 06:29:04,754 [    380]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 192 ms
2014-07-04 06:29:05,154 [    780]   INFO -        #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 398 ms
2014-07-04 06:29:05,192 [    818]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2014-07-04 06:29:05,224 [    850]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2014-07-04 06:29:09,425 [   5051]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2014-07-04 06:29:09,674 [   5300]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2014-07-04 06:29:10,568 [   6194]   INFO - llij.ide.plugins.PluginManager - 25 plugins initialized in 3776 ms
2014-07-04 06:29:10,568 [   6194]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: IDEA CORE
2014-07-04 06:29:10,568 [   6194]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Ant Support (1.0), Byte Code Viewer (0.1), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Eclipse Integration (3.0), Git Integration (8.1), GitHub, Gradle, Groovy (9.0), I18n for Java, IntelliLang (8.0), JUnit (1.0), JavaFX (1.0), Maven Integration, Plugin DevKit (1.0), Properties Support, Subversion Integration (1.1), Task Management (1.0), TestNG-J (8.0), UI Designer, XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0)
2014-07-04 06:29:11,848 [   7474]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=164; buffer=10; max=171966464
2014-07-04 06:29:11,977 [   7603]   INFO - tellij.util.io.storage.Storage - Space waste in C:\ij\mine_tool\system\caches\attrib.dat is 5896465 bytes. Compacting now.
2014-07-04 06:29:13,743 [   9369]   INFO - tellij.util.io.storage.Storage - Done compacting in 1765msec.
2014-07-04 06:29:14,012 [   9638]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\ij\mine_tool\bin\win\fsnotifier.exe
2014-07-04 06:29:14,054 [   9680]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2014-07-04 06:29:15,084 [  10710]   INFO - .history.utils.LocalHistoryLog - Checking local history storage...
2014-07-04 06:29:15,115 [  10741]   INFO - .history.utils.LocalHistoryLog - Local history storage seems to be ok (took 0 sec)
2014-07-04 06:29:18,272 [  13898]   INFO - pl.stores.ApplicationStoreImpl - 82 application components initialized in 7611 ms
2014-07-04 06:29:18,394 [  14020]   INFO - .intellij.idea.IdeaApplication - App initialization took 18315 ms
2014-07-04 06:29:22,949 [  18575]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2014-07-04 06:29:22,978 [  18604]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2014-07-04 06:29:23,897 [  19523]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dynamic.xml file is null
2014-07-04 06:29:24,278 [  19904]   INFO - ellij.project.impl.ProjectImpl - 137 project components initialized in 4335 ms
2014-07-04 06:29:24,838 [  20464]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 559 ms
2014-07-04 06:29:25,999 [  21625]   INFO - CompilerWorkspaceConfiguration - Available processors: 8
2014-07-04 06:29:28,274 [  23900]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 2191 ms, indexed 1912 directories
2014-07-04 06:29:28,290 [  23916]   INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 5 ms
2014-07-04 06:29:28,422 [  24048]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/plainTextFiles.xml file is null
2014-07-04 06:29:28,814 [  24440]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gant_config.xml file is null
2014-07-04 06:29:28,850 [  24476]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343
2014-07-04 06:29:29,316 [  24942]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gradle.xml file is null
2014-07-04 06:29:32,572 [  28198]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 4157 ms
2014-07-04 06:29:32,573 [  28199]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-07-04 06:29:32,573 [  28199]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2014-07-04 06:29:33,275 [  28901]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 13547 ms
2014-07-04 06:29:33,803 [  29429]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2014-07-04 06:29:34,173 [  29799]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/remote-servers.xml file is null
2014-07-04 06:29:47,812 [  43438]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null
2014-07-04 06:29:47,945 [  43571]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
2014-07-04 06:29:47,948 [  43574]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
2014-07-04 06:29:48,305 [  43931]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2014-07-04 06:29:48,308 [  43934]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2014-07-04 06:29:48,319 [  43945]   INFO - ellij.project.impl.ProjectImpl - 25 project components initialized in 58 ms
2014-07-04 06:29:48,320 [  43946]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2014-07-04 06:33:46,485 [ 282111]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/ant.xml file is null
2014-07-04 06:33:49,052 [ 284678]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2014-07-04 06:33:50,343 [ 285969]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /C:/ij/mine_tool/out/production/jps-launcher;C:/Program Files/Java/jdk1.6.0_35/lib/tools.jar;/C:/ij/mine_tool/jps/lib/optimizedFileManager.jar;/C:/ij/mine_tool/lib/ecj-4.2.1.jar
2014-07-04 06:33:51,997 [ 287623]   INFO - ij.compiler.impl.CompileDriver - java.util.ServiceConfigurationError: org.jetbrains.jps.model.serialization.JpsModelSerializerExtension: Provider org.jetbrains.jps.intellilang.model.impl.JpsIntelliLangModelSerializerExtension not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:214)
    at java.util.ServiceLoader.access$400(ServiceLoader.java:164)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:350)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:421)
    at org.jetbrains.jps.service.impl.JpsServiceManagerImpl.getExtensions(JpsServiceManagerImpl.java:59)
    at org.jetbrains.jps.model.serialization.JpsModelSerializerExtension.getExtensions(JpsModelSerializerExtension.java:46)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.getSdkPropertiesSerializer(JpsSdkTableSerializer.java:205)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.loadSdk(JpsSdkTableSerializer.java:99)
    at org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.loadSdks(JpsSdkTableSerializer.java:80)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader$SdkTableSerializer.loadExtension(JpsGlobalLoader.java:144)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader$SdkTableSerializer.loadExtension(JpsGlobalLoader.java:137)
    at org.jetbrains.jps.model.serialization.JpsLoaderBase.loadComponents(JpsLoaderBase.java:59)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalComponents(JpsGlobalLoader.java:83)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.load(JpsGlobalLoader.java:73)
    at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalSettings(JpsGlobalLoader.java:59)
    at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:38)
    at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:45)
    at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:71)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:198)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

2014-07-04 06:33:52,103 [ 287729]   INFO - lij.compiler.impl.CompilerUtil -     COMPILATION FINISHED (BUILD PROCESS); Errors: 1; warnings: 0 took 2973 ms: 0 min 2sec


LOG_END

Many thanks in advance.

2 comments
Comment actions Permalink

This is what I do:
-build intellij-community
-copy intellij-community\out\deploy into existing installation (delete existing folders to avoid conflicts)

0

Please sign in to leave a comment.