CVS update hangs with 4.5.2

cvs update dialog hangs at 96%
saying: command update running for :local:c:\windows\cvsroot
the directory does not exist on my computer.
the dialog is not cancellable, I have to kill IDEA

12 comments

cvs commit dialog -> adding files to cvs

there appears an error message in the CVS output window saying "unknown compression method", but if the commit
dialog hides the CVS output window, you don't see it -
there is no error dialog.

a little annoyance: everytime you add a single file,
the whole project tree is re-analyzed for changed files,
producing a noticable delay.



0

one more complaint for cvs commit project dialog:
when adding files, not only there is a delay, also the
selection is lost.
when going through a huge set of added files, this
dialog is annoying.

My workaround: use add to CVS from the project view
instead.

0

I'm in complaining mode, it's Monday morning:
I finally commited parts of the added files (merging two
projects into one).
IDEA makes a 1 minute pause after OK,
and it consumes all the -mx300m

Conclusion: if you want to add a large number of files
to CVS, don't use the commit project dialog.

0

here is sth. from idea.log
I hope the information is valuable - please add it to tracker yourself if required.

2004-10-25 09:47:10,277 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2004-10-25 09:47:10,297 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2004-10-25 09:47:10,297 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2004-10-25 09:48:39,535 INFO - lication.impl.LaterInvocatorEx - enterModal:javax.swing.JDialog[dialog2,53,404,219x63,layout=java.awt.BorderLayout,modeless,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,219x63,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:48:39,825 INFO - lication.impl.LaterInvocatorEx - leaveModal:javax.swing.JDialog[dialog2,53,404,219x63,invalid,hidden,layout=java.awt.BorderLayout,modeless,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,219x63,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - Error synchronizing psi and repostiory in file: D:\work\daso\src\daso\util\Dutils.java repositoryElementType: METHOD psiParent: PsiClass:Dutils
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - IntelliJ IDEA 4.5.2 Build #2244
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - JDK: 1.4.2_04
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - VM: Java HotSpot(TM) Client VM
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - Vendor: Sun Microsystems Inc.
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - OS: Windows XP
2004-10-25 09:48:59,994 ERROR - impl.RepositoryElementsManager - Last Action: EditorCut
2004-10-25 09:49:00,004 ERROR - impl.RepositoryElementsManager - Error synchronizing psi and repostiory in file: D:\work\daso\src\daso\util\Dutils.java repositoryElementType: METHOD psiParent: PsiClass:Dutils
java.lang.ArrayIndexOutOfBoundsException: 15
at com.intellij.psi.f.bq$1a_.a(bq$1a_.java)
at com.intellij.psi.f.bq.a(bq.java:428)
at com.intellij.psi.f.bq.a(bq.java:299)
at com.intellij.psi.f.bq.a(bq.java:164)
at com.intellij.psi.f.h.bw.a(bw.java:2)
at com.intellij.psi.f.h.d.bv.a(bv.java:81)
at com.intellij.psi.f.h.d.d.getParent(d.java:36)
at com.intellij.psi.util.PsiTreeUtil.getParents(PsiTreeUtil.java:78)
at com.intellij.psi.util.PsiTreeUtil.findCommonParent(PsiTreeUtil.java:61)
at com.intellij.psi.f.h.h.a.c(a.java:29)
at com.intellij.psi.f.h.h.a.b(a.java:65)
at com.intellij.psi.f.q.c(q.java:162)
at com.intellij.psi.f.q$0.run(q$0.java:2)
at com.intellij.openapi.d.a.c.runWriteAction(c.java:292)
at com.intellij.psi.f.q.commitDocument(q.java:203)
at com.intellij.psi.f.q.commitAllDocuments(q.java:73)
at com.intellij.ide.m.b.o.c(o.java:114)
at com.intellij.ide.f.a.e(a.java:89)
at com.intellij.ide.f.b$0.run(b$0.java:1)
at com.intellij.openapi.d.a.d$b_.run(d$b_.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.t.b(t.java:21)
at com.intellij.ide.t.a(t.java:107)
at com.intellij.ide.t.dispatchEvent(t.java:12)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2004-10-25 09:49:00,004 ERROR - impl.RepositoryElementsManager - Error synchronizing psi and repostiory in file: D:\work\daso\src\daso\util\Dutils.java repositoryElementType: METHOD psiParent: PsiClass:Dutils processor.index = 16 repositoryChildren.length = 15
2004-10-25 09:49:00,004 ERROR - impl.RepositoryElementsManager - IntelliJ IDEA 4.5.2 Build #2244
2004-10-25 09:49:00,004 ERROR - impl.RepositoryElementsManager - JDK: 1.4.2_04
2004-10-25 09:49:00,004 ERROR - impl.RepositoryElementsManager - VM: Java HotSpot(TM) Client VM
2004-10-25 09:49:00,014 ERROR - impl.RepositoryElementsManager - Vendor: Sun Microsystems Inc.
2004-10-25 09:49:00,014 ERROR - impl.RepositoryElementsManager - OS: Windows XP
2004-10-25 09:49:00,014 ERROR - impl.RepositoryElementsManager - Last Action: EditorCut
2004-10-25 09:49:00,014 ERROR - impl.RepositoryElementsManager - Error synchronizing psi and repostiory in file: D:\work\daso\src\daso\util\Dutils.java repositoryElementType: METHOD psiParent: PsiClass:Dutils processor.index = 16 repositoryChildren.length = 15
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
at com.intellij.psi.f.bq.a(bq.java:411)
at com.intellij.psi.f.bq.a(bq.java:164)
at com.intellij.psi.f.h.bw.a(bw.java:2)
at com.intellij.psi.f.h.d.bv.a(bv.java:81)
at com.intellij.psi.f.h.d.d.getParent(d.java:36)
at com.intellij.psi.util.PsiTreeUtil.getParents(PsiTreeUtil.java:78)
at com.intellij.psi.util.PsiTreeUtil.findCommonParent(PsiTreeUtil.java:61)
at com.intellij.psi.f.h.h.a.c(a.java:29)
at com.intellij.psi.f.h.h.a.b(a.java:65)
at com.intellij.psi.f.q.c(q.java:162)
at com.intellij.psi.f.q$0.run(q$0.java:2)
at com.intellij.openapi.d.a.c.runWriteAction(c.java:292)
at com.intellij.psi.f.q.commitDocument(q.java:203)
at com.intellij.psi.f.q.commitAllDocuments(q.java:73)
at com.intellij.ide.m.b.o.c(o.java:114)
at com.intellij.ide.f.a.e(a.java:89)
at com.intellij.ide.f.b$0.run(b$0.java:1)
at com.intellij.openapi.d.a.d$b_.run(d$b_.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.t.b(t.java:21)
at com.intellij.ide.t.a(t.java:107)
at com.intellij.ide.t.dispatchEvent(t.java:12)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2004-10-25 09:49:47,733 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.g.a.a$d_[dialog3,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Introduce Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:49:48,284 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.g.a.a$d_[dialog3,359,289,305x159,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Introduce Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,4,30,297x125,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:50:50,824 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.g.a.a$d_[dialog4,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Introduce Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:50:53,838 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.g.a.a$d_[dialog4,359,289,305x159,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Introduce Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,4,30,297x125,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:51:05,395 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.g.a.a$d_[dialog5,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Inline Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:51:06,156 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.g.a.a$d_[dialog5,367,308,289x121,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Inline Variable,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,4,30,281x87,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:51:30,541 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.g.a.a$d_[dialog6,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Reformat Code,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:51:30,801 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.g.a.a$d_[dialog6,342,278,340x182,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Reformat Code,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.g.a.a$4[,4,30,332x148,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2004-10-25 09:51:30,841 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.progress.util.e@1b55009
2004-10-25 09:51:30,841 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.progress.util.e@1b55009
2004-10-25 09:51:33,295 INFO - ject.impl.BaseFileConfigurable - Time to save D:\work\navitool\navitool.iml: 0
2004-10-25 09:51:33,305 INFO - ject.impl.BaseFileConfigurable - Time to save D:\work\navitool\navitool.ipr: 10
2004-10-25 09:51:33,315 INFO - IDEA-Config - writeExternal(Element element)
2004-10-25 09:51:33,345 INFO - ject.impl.BaseFileConfigurable - Time to save D:\work\navitool\navitool.iws: 10
2004-10-25 09:51:33,345 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=6983)
2004-10-25 09:51:33,765 INFO - lij.localVcs.impl.LocalVcsImpl - purged 229 items

0

Please, run IDEA with a console, add -Dcvs.print.output=true parameter.
Reproduce the problem and send me output from the console. Thanks!

--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:4391503.1098692324656.JavaMail.itn@is.intellij.net...

cvs update dialog hangs at 96%
saying: command update running for :local:c:\windows\cvsroot
the directory does not exist on my computer.
the dialog is not cancellable, I have to kill IDEA



0

I tried to. I had to changes config/system pathes in idea.bat for my license to be found.
cvs connection does not work when run from batch file
(connection time out) - sorry!

if there is a way to quickly get the cvs connection
working with idea.bat / or get the log output you need
into the "normal" idea.log then I'll try it again.

0

no way? I'm trying to help but some other work needs to
be done also ;)

btw., Jetbrains developers: my bug complaints are not meant to say "your product is bad!".
It is meant to make a fantastic product even better.
Maybe I should add this as a disclaimer to each post? ;)

0

Sorry, I don't understand... You cannot work with cvs if IDEA is run with
batch file?.. What are the differences between settings in .bat and .lax
file? BTW, you can make the same changes in the .lax file.


--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:15978767.1098698783227.JavaMail.itn@is.intellij.net...

I tried to. I had to changes config/system pathes in idea.bat for my

license to be found.

cvs connection does not work when run from batch file
(connection time out) - sorry!

>

if there is a way to quickly get the cvs connection
working with idea.bat / or get the log output you need
into the "normal" idea.log then I'll try it again.

>
>


0

Thanks for your feedback.
Here is what I did:

1. I always used IDEA without .bat
CVS was working

2. I tried starting IDEA with .bat, to produce the debug output you want.
Id did not work, I had to modify location to config directory in idea.bat, then IDEA came up correctly.
But CVS did not work. Do not ask me why - I hoped you
can tell me ;)

I attach my idea.bat and idea.lax:


::----


:: IntelliJ IDEA Startup Script
::----



::----


:: Uncomment the following 2 lines if you are going to
:: associate "*.ipr" files with IntelliJ IDEA
::----


:: cd C:\IntelliJ-IDEA-3.0\bin\
:: C:

:: -


:: Before you run IntelliJ IDEA specify the location of the
:: directory where IntelliJ IDEA is installed
:: In most cases you do not need to change the settings below.
:: -


SET IDEA_HOME=..

:: -


:: In most cases you do not need to change the settings below.
:: -


SET JAVA_EXE=%IDEA_HOME%\jre\bin\java.exe

IF NOT EXIST "%JAVA_EXE%" goto error

SET MAIN_CLASS_NAME=com.intellij.idea.Main

:: -


:: There are two possible values of IDEA_POPUP_WEIGHT property: "heavy" and "medium".
:: If you have WM configured as "Focus follows mouse with Auto Raise" then you have to
:: set this property to "medium". It prevents problems with popup menus on some
:: configurations.
:: -


SET IDEA_POPUP_WEIGHT=heavy

:: -


:: You may specify your own JVM arguments in IDEA_JVM_ARGS variable.
:: -


IF "%IDEA_JVM_ARGS%" == "" set IDEA_JVM_ARGS=-Xms32m -Xmx192m -Dsun.java2d.noddraw=true

IF "%IDEA_CONFIG_PATH%" == "" set IDEA_CONFIG_PATH=../config
IF "%IDEA_SYSTEM_PATH%" == "" set IDEA_SYSTEM_PATH=../system
IF "%IDEA_PLUGINS_PATH%" == "" set IDEA_PLUGINS_PATH=../plugins

SET JVM_ARGS= %IDEA_JVM_ARGS% -Didea.plugins.path=%IDEA_PLUGINS_PATH% -Didea.system.path=% -Dcvs.print.output=true IDEA_SYSTEM_PATH% -Didea.config.path=%IDEA_CONFIG_PATH% -Didea.popup.weight=%IDEA_POPUP_WEIGHT%

SET OLD_PATH=%PATH%
SET PATH=%IDEA_HOME%\bin;%PATH%

SET CLASS_PATH=%IDEA_HOME%\lib\idea.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\openapi.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\jdom.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\log4j.jar

:: -


:: You may specify additional class paths in IDEA_CLASS_PATH variable.
:: It is a good idea to specify paths to your plugins in this variable.
:: -


IF NOT "%IDEA_CLASS_PATH%" == "" SET CLASS_PATH=%CLASS_PATH%;%IDEA_CLASS_PATH%

"%JAVA_EXE%" %JVM_ARGS% -cp "%CLASS_PATH%" %MAIN_CLASS_NAME% %*

SET PATH=%OLD_PATH%
goto end
:error
echo -


echo ERROR: cannot start IntelliJ IDEA.
echo No JRE found in IDEA installation directory
echo -


pause
:end


LAX:

  1. LaunchAnywhere (tm) Executable Properties File - Zero G Software, Inc.

  1. LAX.APPLICATION.NAME

  2. --------------------

  3. the default name of this executable -- do not edit


lax.application.name=idea.exe

  1. LAX.CLASS.PATH

  2. --------------

  3. the Java classpath necessary to run this application

  4. Can be separated by colons (Mac OS/Unix) or semicolons (Windows)


lax.class.path=../lib/idea.jar;../lib/jdom.jar;../lib/log4j.jar;../lib/openapi.jar;lax.jar

  1. LAX.COMMAND.LINE.ARGS

  2. ---------------------

  3. what will be passed to the main method -- be sure to quote arguments with spaces in them


lax.command.line.args=$CMD_LINE_ARGUMENTS$

  1. LAX.DIR

  2. -------

  3. path to directory holding LaunchAnywhere's native launcher


lax.dir=d:
idea4.5.1
bin


  1. LAX.MAIN.CLASS

  2. --------------

  3. the class that contains the main method for the application


lax.main.class=com.intellij.idea.Main

  1. LAX.MAIN.METHOD

  2. ---------------

  3. the method in the main class that will be invoked


lax.main.method=main

  1. LAX.NL.CURRENT.VM

  2. -----------------

  3. the VM to use for the next launch


lax.nl.current.vm=..
jre
bin
java.exe

  1. LAX.NL.JAVA.LAUNCHER.MAIN.CLASS

  2. -------------------------------

  3. main class of LaunchAnywhere's java launcher -- do not adjust


lax.nl.java.launcher.main.class=com.zerog.lax.LAX

  1. LAX.NL.JAVA.LAUNCHER.MAIN.METHOD

  2. --------------------------------

  3. main method of LaunchAnywhere's java launcher -- do not adjust


lax.nl.java.launcher.main.method=main



lax.nl.java.option.additional=-Xms16m -Xmx300m -Dsun.java2d.noddraw=true -Didea.system.path="..
system" -Didea.config.path="..
config" -Didea.popup.weight=heavy

  1. LAX.NL.VALID.VM.LIST

  2. --------------------

  3. a string containing one or more of

  4. delimited by spaces or commas. If the native launcher cannot find the current vm,

  5. it will search for ones in this list


lax.nl.valid.vm.list=

  1. LAX.NL.WIN32.MICROSOFTVM.MIN.VERSION

  2. ------------------------------------

  3. The minimum version of Microsoft's VM this application will run against


lax.nl.win32.microsoftvm.min.version=2750

  1. LAX.ROOT.INSTALL.DIR

  2. --------------------

  3. path to the installdir magic folder


lax.root.install.dir=d:
idea4.5.1

  1. LAX.STDERR.REDIRECT

  2. -------------------

  3. leave blank for no output, "console" to send to a console window,

  4. and any path to a file to save to the file


lax.stderr.redirect=

  1. LAX.STDIN.REDIRECT

  2. ------------------

  3. leave blank for no input, "console" to read from the console window,

  4. and any path to a file to read from that file


lax.stdin.redirect=

  1. LAX.STDOUT.REDIRECT

  2. -------------------

  3. leave blank for no output, "console" to send to a console window,

  4. and any path to a file to save to the file


lax.stdout.redirect=

  1. LAX.USER.DIR

  2. ------------

  3. left blank, this property will cause the native launcher to not

  4. alter the platform default behavior for setting the user dir.

  5. To override this you may set this property to a relative or absolute path.

  6. Relative paths are relative to the launcher.


lax.user.dir=.

  1. LAX.VERSION

  2. -----------

  3. version of LaunchAnywhere that created this properties file


lax.version=5.5




I hope I find some time this week then I'll investigate
why CVS does not work when IDEA is run via .bat



0

This text looks strange a little:

SET JVM_ARGS=
%IDEA_JVM_ARGS% -Didea.plugins.path=%IDEA_PLUGINS_PATH% -Didea.system.path=%
-Dcvs.print.output=true

IDEA_SYSTEM_PATH% -Didea.config.path=%IDEA_CONFIG_PATH% -Didea.popup.weight=
%IDEA_POPUP_WEIGHT%

It seems you placed cvs parameter into system path parameter...

I think it has to be like this:

SET JVM_ARGS=
%IDEA_JVM_ARGS% -Didea.plugins.path=%IDEA_PLUGINS_PATH% -Didea.system.path=%
IDEA_SYSTEM_PATH% -Dcvs.print.output=true -Didea.config.path=%IDEA_CONFIG_P
ATH% -Didea.popup.weight=%IDEA_POPUP_WEIGHT%

--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:4731361.1098888276559.JavaMail.itn@is.intellij.net...

Thanks for your feedback.
Here is what I did:

>

1. I always used IDEA without .bat
CVS was working

>

2. I tried starting IDEA with .bat, to produce the debug output you want.
Id did not work, I had to modify location to config directory in idea.bat,

then IDEA came up correctly.

But CVS did not work. Do not ask me why - I hoped you
can tell me ;)

>

I attach my idea.bat and idea.lax:

>
>

::----------------------------------------------------------------------
:: IntelliJ IDEA Startup Script
::----------------------------------------------------------------------

>

::----------------------------------------------------------------------
:: Uncomment the following 2 lines if you are going to
:: associate "*.ipr" files with IntelliJ IDEA
::----------------------------------------------------------------------
:: cd C:\IntelliJ-IDEA-3.0\bin\
:: C:

>

:: ---------------------------------------------------------------------
:: Before you run IntelliJ IDEA specify the location of the
:: directory where IntelliJ IDEA is installed
:: In most cases you do not need to change the settings below.
:: ---------------------------------------------------------------------
SET IDEA_HOME=..

>

:: ---------------------------------------------------------------------
:: In most cases you do not need to change the settings below.
:: ---------------------------------------------------------------------
SET JAVA_EXE=%IDEA_HOME%\jre\bin\java.exe

>

IF NOT EXIST "%JAVA_EXE%" goto error

>

SET MAIN_CLASS_NAME=com.intellij.idea.Main

>

:: ---------------------------------------------------------------------
:: There are two possible values of IDEA_POPUP_WEIGHT property: "heavy"

and "medium".

:: If you have WM configured as "Focus follows mouse with Auto Raise" then

you have to

:: set this property to "medium". It prevents problems with popup menus on

some

:: configurations.
:: ---------------------------------------------------------------------
SET IDEA_POPUP_WEIGHT=heavy

>

:: ---------------------------------------------------------------------
:: You may specify your own JVM arguments in IDEA_JVM_ARGS variable.
:: ---------------------------------------------------------------------
IF "%IDEA_JVM_ARGS%" == "" set

IDEA_JVM_ARGS=-Xms32m -Xmx192m -Dsun.java2d.noddraw=true
>

IF "%IDEA_CONFIG_PATH%" == "" set IDEA_CONFIG_PATH=../config
IF "%IDEA_SYSTEM_PATH%" == "" set IDEA_SYSTEM_PATH=../system
IF "%IDEA_PLUGINS_PATH%" == "" set IDEA_PLUGINS_PATH=../plugins

>

SET JVM_ARGS=

%IDEA_JVM_ARGS% -Didea.plugins.path=%IDEA_PLUGINS_PATH% -Didea.system.path=%
-Dcvs.print.output=true

IDEA_SYSTEM_PATH% -Didea.config.path=%IDEA_CONFIG_PATH% -Didea.popup.weight=
%IDEA_POPUP_WEIGHT%
>

SET OLD_PATH=%PATH%
SET PATH=%IDEA_HOME%\bin;%PATH%

>

SET CLASS_PATH=%IDEA_HOME%\lib\idea.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\openapi.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\jdom.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\log4j.jar

>

:: ---------------------------------------------------------------------
:: You may specify additional class paths in IDEA_CLASS_PATH variable.
:: It is a good idea to specify paths to your plugins in this variable.
:: ---------------------------------------------------------------------
IF NOT "%IDEA_CLASS_PATH%" == "" SET

CLASS_PATH=%CLASS_PATH%;%IDEA_CLASS_PATH%
>

"%JAVA_EXE%" %JVM_ARGS% -cp "%CLASS_PATH%" %MAIN_CLASS_NAME% %*

>

SET PATH=%OLD_PATH%
goto end
:error
echo ---------------------------------------------------------------------
echo ERROR: cannot start IntelliJ IDEA.
echo No JRE found in IDEA installation directory
echo ---------------------------------------------------------------------
pause
:end

>
>

LAX:

>

  1. LaunchAnywhere (tm) Executable Properties File - Zero G Software, Inc.

>

  1. LAX.APPLICATION.NAME

  2. --------------------

  3. the default name of this executable -- do not edit

>

lax.application.name=idea.exe

>
>

  1. LAX.CLASS.PATH

  2. --------------

  3. the Java classpath necessary to run this application

  4. Can be separated by colons (Mac OS/Unix) or semicolons (Windows)

>
>
lax.class.path=../lib/idea.jar;../lib/jdom.jar;../lib/log4j.jar;../lib/opena
pi.jar;lax.jar
>
>

  1. LAX.COMMAND.LINE.ARGS

  2. ---------------------

  3. what will be passed to the main method -- be sure to quote arguments

with spaces in them
>

lax.command.line.args=$CMD_LINE_ARGUMENTS$

>
>

  1. LAX.DIR

  2. -------

  3. path to directory holding LaunchAnywhere's native launcher

>

lax.dir=d:
idea4.5.1
bin

>
>

  1. LAX.MAIN.CLASS

  2. --------------

  3. the class that contains the main method for the application

>

lax.main.class=com.intellij.idea.Main

>
>

  1. LAX.MAIN.METHOD

  2. ---------------

  3. the method in the main class that will be invoked

>

lax.main.method=main

>
>

  1. LAX.NL.CURRENT.VM

  2. -----------------

  3. the VM to use for the next launch

>

lax.nl.current.vm=..
jre
bin
java.exe

>
>

  1. LAX.NL.JAVA.LAUNCHER.MAIN.CLASS

  2. -------------------------------

  3. main class of LaunchAnywhere's java launcher -- do not adjust

>

lax.nl.java.launcher.main.class=com.zerog.lax.LAX

>
>

  1. LAX.NL.JAVA.LAUNCHER.MAIN.METHOD

  2. --------------------------------

  3. main method of LaunchAnywhere's java launcher -- do not adjust

>

lax.nl.java.launcher.main.method=main

>
>
>
>
lax.nl.java.option.additional=-Xms16m -Xmx300m -Dsun.java2d.noddraw=true -Di
dea.system.path="..
system" -Didea.config.path="..
config" -Didea.popup.we
ight=heavy
>
>

  1. LAX.NL.VALID.VM.LIST

  2. --------------------

  3. a string containing one or more of [ ALL JDK JRE J1 J2 JRE_J1 JDK_J1

JRE_J2 JDK_J2 MSJ MRJ ]

  1. delimited by spaces or commas. If the native launcher cannot find

the current vm,

  1. it will search for ones in this list

>

lax.nl.valid.vm.list=

>
>

  1. LAX.NL.WIN32.MICROSOFTVM.MIN.VERSION

  2. ------------------------------------

  3. The minimum version of Microsoft's VM this application will run

against
>

lax.nl.win32.microsoftvm.min.version=2750

>
>

  1. LAX.ROOT.INSTALL.DIR

  2. --------------------

  3. path to the installdir magic folder

>

lax.root.install.dir=d:
idea4.5.1

>
>

  1. LAX.STDERR.REDIRECT

  2. -------------------

  3. leave blank for no output, "console" to send to a console window,

  4. and any path to a file to save to the file

>

lax.stderr.redirect=

>
>

  1. LAX.STDIN.REDIRECT

  2. ------------------

  3. leave blank for no input, "console" to read from the console window,

  4. and any path to a file to read from that file

>

lax.stdin.redirect=

>
>

  1. LAX.STDOUT.REDIRECT

  2. -------------------

  3. leave blank for no output, "console" to send to a console window,

  4. and any path to a file to save to the file

>

lax.stdout.redirect=

>
>

  1. LAX.USER.DIR

  2. ------------

  3. left blank, this property will cause the native launcher to not

  4. alter the platform default behavior for setting the user dir.

  5. To override this you may set this property to a relative or absolute

path.

  1. Relative paths are relative to the launcher.

>

lax.user.dir=.

>
>

  1. LAX.VERSION

  2. -----------

  3. version of LaunchAnywhere that created this properties file

>

lax.version=5.5

>
>
>
>

I hope I find some time this week then I'll investigate
why CVS does not work when IDEA is run via .bat

>
>
>
>


0

I tried again, but no luck:
D:\idea4.5.1\bin>"..\jre\bin\java.exe" -Xms32m -Xmx192m -Dsun.java2d.noddraw=tr
ue -Dcvs.print.output=true -Didea.plugins.path=../plugins -Didea.system.path=../
system -Didea.config.path=../config -Didea.popup.weight=heavy -cp "..\lib\idea.j
ar;..\lib\openapi.jar;..\lib\jdom.jar;..\lib\log4j.jar" com.intellij.idea.Main

when starting with this idea.bat I get no output at all on console and I get cvs timeout when trying to connect.
Starting with idea.exe I got the "unknown compression method" message.
Reason: the cvs repository was not found on filesystem (:pserver used, folder was missing on the server).
I was using gzip compression, when this was turned off, I got a message like "File d:\cvsrepo not found"

attached is the cvs.print.output of my colluege - he was more lucky with that debug output



Attachment(s):
ConsolenOutput.txt
0

note that despite the directory name, this happened with
IDEA 4.5.3 build#2250

0

Please sign in to leave a comment.