ant build error: exec returned 1

9,720 views
Skip to first unread message

Ben Fritz

unread,
Feb 10, 2012, 11:45:40 PM2/10/12
to eclim-dev
Thanks to Eric, my earlier problems in getting a working copy for the
repository are resolved, but now I simply cannot get the build
working. I have downloaded ant 1.8.2, and then, after seeing the below
error and looking at line 31 of build.xml, gant 1.9.7 as well. I have
placed the 'bin' directory of both applications on my path, and set
the ANT_HOME and GANT_HOME environment variables. Googling shows that
a "exec returned 1" message can be caused by a wide variety of issues,
but none of them seemed relevant in my case. As stated, I've installed
both ant and gant, and certainly have write access to my Eclipse home
directory, eclim repository, and vimfiles directory. I've never used
ant before, I thought from the first few pages of docs that everything
is configured. Is there some trick to getting this working on Windows?
Can someone confirm for my sanity's sake that eclim does in fact build
on a Windows machine?

I read through the developer's guide ( http://eclim.org/guides/development.html
) but did not notice any mention of extra steps or build setup for
Windows. I hoped the developer docs would provide something more, but
currently only the architecture page is there.

F:\>set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_02
F:\>cd Documents\Ben\eclim
F:\Documents\Ben\eclim>ant
Buildfile: F:\Documents\Ben\eclim\build.xml
deploy:
gant:
BUILD FAILED
F:\Documents\Ben\eclim\build.xml:31: The following error occurred
while executing this line:
: exec returned: 1
Total time: 17 seconds

Eric Van Dewoestine

unread,
Feb 11, 2012, 1:01:14 AM2/11/12
to ecli...@googlegroups.com
On 2012-02-10 20:45:40, Ben Fritz wrote:
> Thanks to Eric, my earlier problems in getting a working copy for the
> repository are resolved, but now I simply cannot get the build
> working. I have downloaded ant 1.8.2, and then, after seeing the below
> error and looking at line 31 of build.xml, gant 1.9.7 as well. I have
> placed the 'bin' directory of both applications on my path, and set
> the ANT_HOME and GANT_HOME environment variables.

You don't need to install gant. The proper gant jar is already
included in the eclim repo and is added to the classpath without any
user intervention.

> Googling shows that
> a "exec returned 1" message can be caused by a wide variety of issues,
> but none of them seemed relevant in my case. As stated, I've installed
> both ant and gant, and certainly have write access to my Eclipse home
> directory, eclim repository, and vimfiles directory. I've never used
> ant before, I thought from the first few pages of docs that everything
> is configured.

Try running ant like so:
ant -debug

Hopefully that will give us more information to work with.

> Is there some trick to getting this working on Windows?
> Can someone confirm for my sanity's sake that eclim does in fact build
> on a Windows machine?

I built the code just fine on my Windows XP vm this morning.

> I read through the developer's guide ( http://eclim.org/guides/development.html
> ) but did not notice any mention of extra steps or build setup for
> Windows. I hoped the developer docs would provide something more, but
> currently only the architecture page is there.

You shouldn't have to do anything special, just install java, ant,
eclipse, checkout eclim, run ant... that should be sufficient.

> F:\>set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_02
> F:\>cd Documents\Ben\eclim
> F:\Documents\Ben\eclim>ant
> Buildfile: F:\Documents\Ben\eclim\build.xml
> deploy:
> gant:
> BUILD FAILED
> F:\Documents\Ben\eclim\build.xml:31: The following error occurred
> while executing this line:
> : exec returned: 1
> Total time: 17 seconds

--
eric

Ben Fritz

unread,
Feb 13, 2012, 12:49:42 PM2/13/12
to eclim-dev


On Feb 11, 12:01 am, Eric Van Dewoestine <ervan...@gmail.com> wrote:
> On 2012-02-10 20:45:40, Ben Fritz wrote:
>
> > Thanks to Eric, my earlier problems in getting a working copy for the
> > repository are resolved, but now I simply cannot get the build
> > working. I have downloaded ant 1.8.2, and then, after seeing the below
> > error and looking at line 31 of build.xml, gant 1.9.7 as well. I have
> > placed the 'bin' directory of both applications on my path, and set
> > the ANT_HOME and GANT_HOME environment variables.
>
> You don't need to install gant. The proper gant jar is already
> included in the eclim repo and is added to the classpath without any
> user intervention.
>

Good to know, thanks. Maybe that info could go in the developer's
guide somewhere.

> Try running ant like so:
>   ant -debug
>
> Hopefully that will give us more information to work with.
>

It did help, thanks. Apparently the problem is, I don't have git
installed. As mentioned in a previous thread, I've been using hg-git
instead. I'll install git later today and try it again.

Eric Van Dewoestine

unread,
Feb 13, 2012, 2:16:51 PM2/13/12
to ecli...@googlegroups.com

Ah, yes that would do it. I'll be sure to add a check and raise a
helpful error rather than failing like that. If you don't want to
install git, you can instead add a .version file to the eclim root
with something like 1.7.2-dev as the content.

--
eric

Ben Fritz

unread,
Feb 14, 2012, 11:19:28 AM2/14/12
to eclim-dev
Well, I installed git, and the install gets a little further but still
fails. Now it gets an "exec returned 128" message. The error in the
debug output is very strange:

<error_output>
Execute:Java13CommandLauncher: Executing 'cmd.exe' with arguments:
'/c'
'git'
'rev-parse'
'--abbrev-ref'
'HEAD'

The ' characters around the executable and arguments are
not part of the command.
Setting project property: gant7946992932150007208 -> 'chcp' is not
recognized as an internal or external command,
operable program or batch file.
fatal: Not a git repository (or any of the parent directories): .git
'chcp' is not recognized as an internal or external command,
operable program or batch file.
[antcall] Exiting C:\eclim\build.xml.
</error_output>

Note, chcp is a built-in Windows command. I can execute it in the same
cmd.exe window I tried running ant in, right after the build fails,
and it executes just fine.

I wonder if the real failure is the "not a git repository" message.
I'll try making a real git checkout to see what happens I suppose.

Here's the rest of the error log starting immediately after this
point. Let me know if you need more and I can send the whole thing as
an attachment (the google groups interface doesn't allow this for
unknown reasons, but I've now set the thread to send me emails).

BUILD FAILED
C:\eclim\build.xml:31: The following error occurred while executing
this line:
: exec returned: 128
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:
646)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:212)
at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:162)
at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:90)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
45)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
129)
at build.execute(build:895)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:225)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:
51)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
143)
at build.execute(build)
at build$execute.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
155)
at build.getEclipseHomeProp(build:605)
at build$getEclipseHomeProp.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
147)
at build.run(build:32)
at build$run.call(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
121)
at gant.Gant.processTargets(Gant.groovy:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:
266)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:
51)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
155)
at gant.Gant.processTargets(Gant.groovy:569)
at org.codehaus.gant.ant.Gant.execute(Gant.java:189)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:
1399)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:
38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:
105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:
1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 2 seconds

Benjamin Fritz

unread,
Feb 14, 2012, 11:25:24 AM2/14/12
to eclim-dev
On Tue, Feb 14, 2012 at 10:19 AM, Ben Fritz <fritzo...@gmail.com> wrote:
> I wonder if the real failure is the "not a git repository" message.
> I'll try making a real git checkout to see what happens I suppose.
>

Nope, I tried again with a real Git repository. Same basic error:

BUILD FAILED
C:\eclim-git\eclim\build.xml:31: The following error occurred while
executing this line:
C:\eclim-git\eclim\build.xml:130: : Directory
C:\eclim-git\eclim\build\temp\eclipse\plugins\org.eclim_'chcp' is not


recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.

Full log attached this time.

install.log

Eric Van Dewoestine

unread,
Feb 14, 2012, 1:30:26 PM2/14/12
to ecli...@googlegroups.com

I checked in a fix[1] to improve handling of building from a non-git
checkout.

[1] https://github.com/ervandew/eclim/commit/906c6fd3c064d8a4fa97fb9120fc1382e466e2d1

--
eric

Eric Van Dewoestine

unread,
Feb 14, 2012, 1:34:14 PM2/14/12
to ecli...@googlegroups.com

Where is that 'chcp' coming from? What does 'git describe' return?

--
eric

Ben Fritz

unread,
Feb 14, 2012, 3:27:33 PM2/14/12
to eclim-dev


On Feb 14, 12:34 pm, Eric Van Dewoestine <ervan...@gmail.com> wrote:
>
> Where is that 'chcp' coming from? What does 'git describe' return?
>

I couldn't tell you why it's needed. chcp is a Windows command to show
or change the currently active "codepage".

git describe returns:

1.7.2-157-g0fb42a0

Ben Fritz

unread,
Feb 14, 2012, 3:32:59 PM2/14/12
to eclim-dev


On Feb 14, 12:30 pm, Eric Van Dewoestine <ervan...@gmail.com> wrote:
>
> I checked in a fix[1] to improve handling of building from a non-git
> checkout.
>
> [1]https://github.com/ervandew/eclim/commit/906c6fd3c064d8a4fa97fb9120fc...
>

Good, that's a much more user-friendly error. So, what does
the .version file do and how's it formatted? For now, as long as I
find a way to grab an arbitrary version from git and install it, I'll
be happy.

Eric Van Dewoestine

unread,
Feb 14, 2012, 3:51:15 PM2/14/12
to ecli...@googlegroups.com

The .version file was originally indented for the source distribution
tar of eclim released along with the gui installer. Since the source
distribution is not a git checkout, I added the .version file as a
means to indicate what version of eclim to build in lieu of asking git
what the current version is.

The format is just the version number to use. eclipse/osgi I think requires
at least 3 dot separated digits and at most 1 dash, so the git
describe output can be used but the first dash has to be replaced
with a dot. So on a *nix box you could mimic what the build would use
by running:

$ git describe | sed 's/-/./' > .version

which would set the .version contents to: 1.7.2.158-g906c6fd

--
eric

Eric Van Dewoestine

unread,
Feb 14, 2012, 3:57:37 PM2/14/12
to ecli...@googlegroups.com

If you run the full command that ant is running:

cmd /c git describe

do you get the same:

'chcp' is not recognized as an internal or external command, operable program or batch file.

message that the build seems to be getting from the output?

--
eric

Benjamin Fritz

unread,
Feb 14, 2012, 4:31:59 PM2/14/12
to ecli...@googlegroups.com
On Tue, Feb 14, 2012 at 2:57 PM, Eric Van Dewoestine <erva...@gmail.com> wrote:
>
> If you run the full command that ant is running:
>
>  cmd /c git describe
>
> do you get the same:
>
>  'chcp' is not recognized as an internal or external command, operable program or batch file.
>
> message that the build seems to be getting from the output?
>

No, in fact, all these work:

cmd /c git describe
chcp
cmd /c chcp
cmd /c "chcp"
cmd /s /c "chcp"

chcp.com is located in C:\Windows\System32, which is on my path, so I
don't understand why this doesn't work.

I have discovered that even though the above is the case, from within
Vim, :echo system('chcp') gives the same error which terminates the
ant build.

Even this gives an error:

:echo system('C:\Windows\System32\chcp.com')

even though running the same file directly from the console works just fine.

In fact, even though this file exists in a directory listing, Vim
cannot see it at all.

I'm very confused, I'll poke at it and report back.

Benjamin Fritz

unread,
Feb 14, 2012, 4:34:55 PM2/14/12
to ecli...@googlegroups.com
On Tue, Feb 14, 2012 at 3:31 PM, Benjamin Fritz <fritzo...@gmail.com> wrote:
> In fact, even though this file exists in a directory listing, Vim
> cannot see it at all.
>

C:\eclim-git\eclim>dir C:\WINDOWS\system32\*.com
Volume in drive C is Local Disk
Volume Serial Number is EA9A-15F2

Directory of C:\WINDOWS\system32

02/18/2007 06:00 AM 9,216 chcp.com
02/18/2007 06:00 AM 12,288 diskcomp.com
02/18/2007 06:00 AM 9,728 diskcopy.com
02/18/2007 06:00 AM 30,720 format.com
02/18/2007 06:00 AM 43,008 mode.com
02/18/2007 06:00 AM 25,088 more.com
02/18/2007 06:00 AM 17,408 tree.com
7 File(s) 147,456 bytes
0 Dir(s) 181,770,612,736 bytes free

C:\eclim-git\eclim>"C:\Program Files (x86)\vim\vim73\vim.exe" -N -u NONE -i NONE

:r !dir C:\WINDOWS\system32\*.com


Volume in drive C is Local Disk
Volume Serial Number is EA9A-15F2

Directory of C:\WINDOWS\system32

02/18/2007 06:00 AM 29,696 format.com
02/18/2007 06:00 AM 16,384 more.com
2 File(s) 46,080 bytes
0 Dir(s) 181,772,042,240 bytes free

Benjamin Fritz

unread,
Feb 14, 2012, 4:55:09 PM2/14/12
to ecli...@googlegroups.com

I tried taking ownership of the file:

http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-system-file-in-windows-vista/

(note I'm on XP 64-bit, not Vista or 7)

I found a similar issue in a different project which apparently was
never resolved:

https://bugs.launchpad.net/hugin/+bug/692957

Something similar was found in git before:

http://groups.google.com/group/railsinstaller/browse_thread/thread/c3b8b51854a442aa

But in that case the user's path did not contain C:\Windows\System32,
whereas mine does.

Mostly out of desperation, I copied C:\Windows\System32\chcp.com into
my git checkout location. This fixes the chcp error!

But now there are compiler errors. See attached.

install.log

Eric Van Dewoestine

unread,
Feb 14, 2012, 10:03:44 PM2/14/12
to ecli...@googlegroups.com

That is very odd.

I made another change[1] to the build script to log the command error,
which results in better error messages if cmd.exe attempts to run a
command not found and prevents the error output of git.cmd's attempt
to run chcp from getting pre-pended to the git describe output.

[1] https://github.com/ervandew/eclim/commit/5cf8986d5a60fc7db81a99899e3655c69bd64d69


--
eric

Eric Van Dewoestine

unread,
Feb 14, 2012, 10:08:56 PM2/14/12
to ecli...@googlegroups.com

What version of eclipse do you have installed? According to the
eclipse source that variable was added in eclipse 3.4 (ganymede),
which was released in 2008.

--
eric

Benjamin Fritz

unread,
Feb 15, 2012, 11:29:31 AM2/15/12
to ecli...@googlegroups.com
On Tue, Feb 14, 2012 at 9:08 PM, Eric Van Dewoestine <erva...@gmail.com> wrote:
>> But now there are compiler errors. See attached.
>
> What version of eclipse do you have installed? According to the
> eclipse source that variable was added in eclipse 3.4 (ganymede),
> which was released in 2008.

I'm using Helios.

Eclipse SDK

Version: 3.6.2
Build id: M20110210-1200

Eclipse C/C++ Development Tools

Version: 7.0.2.201102110609
Build id: 201102110609

Eclipse CDT P2 Customizations for SDK installation

Version: 1.0.0.201102110609
Build id: 201102110609

Benjamin Fritz

unread,
Feb 15, 2012, 1:08:25 PM2/15/12
to ecli...@googlegroups.com
On Wed, Feb 15, 2012 at 10:29 AM, Benjamin Fritz
<fritzo...@gmail.com> wrote:
> On Tue, Feb 14, 2012 at 9:08 PM, Eric Van Dewoestine <erva...@gmail.com> wrote:
>>> But now there are compiler errors. See attached.
>>
>> What version of eclipse do you have installed? According to the
>> eclipse source that variable was added in eclipse 3.4 (ganymede),
>> which was released in 2008.
>
> I'm using Helios.
>
> Eclipse SDK
>
> Version: 3.6.2
> Build id: M20110210-1200
>

I just downloaded the Indigo "Eclipse IDE for C/C++ Developers
(includes Incubating components)" and the ant build works just fine
(although I do now have a bunch more Vim files I'm not going to be
using).

Everything seems to be working fine with this version, I was worried
some of the Eclipse plugins I use from the discovery site from my
work's tools team wouldn't work with Indigo, but so far, so good. I
understand Eclipse works fine with multiple versions installed
side-by-side so I can always switch back for specific tasks if I run
into problems.

Thanks for all your help. You may want to look into those compiler
errors for the project's sake, but technically Eclim 1.7.x *says* it
requires Indigo, maybe this is the first real reason why, and I'm good
for now.

Eric Van Dewoestine

unread,
Feb 17, 2012, 12:16:16 AM2/17/12
to ecli...@googlegroups.com
On 2012-02-15 12:08:25, Benjamin Fritz wrote:
> On Wed, Feb 15, 2012 at 10:29 AM, Benjamin Fritz
> <fritzo...@gmail.com> wrote:
> > On Tue, Feb 14, 2012 at 9:08 PM, Eric Van Dewoestine <erva...@gmail.com> wrote:
> >>> But now there are compiler errors. See attached.
> >>
> >> What version of eclipse do you have installed? According to the
> >> eclipse source that variable was added in eclipse 3.4 (ganymede),
> >> which was released in 2008.
> >
> > I'm using Helios.
> >
> > Eclipse SDK
> >
> > Version: 3.6.2
> > Build id: M20110210-1200
> >
>
> I just downloaded the Indigo "Eclipse IDE for C/C++ Developers
> (includes Incubating components)" and the ant build works just fine
> (although I do now have a bunch more Vim files I'm not going to be
> using).
>
> Everything seems to be working fine with this version, I was worried
> some of the Eclipse plugins I use from the discovery site from my
> work's tools team wouldn't work with Indigo, but so far, so good. I
> understand Eclipse works fine with multiple versions installed
> side-by-side so I can always switch back for specific tasks if I run
> into problems.

I'm glad to here you got it all built and running after all the
problems.

> Thanks for all your help. You may want to look into those compiler
> errors for the project's sake, but technically Eclim 1.7.x *says* it
> requires Indigo, maybe this is the first real reason why, and I'm good
> for now.

It looks like the javadoc @since 3.4 on that eclipse INSTANCE variable
is a damn lie (probably due to copy and paste).

--
eric

Ben Fritz

unread,
Feb 20, 2012, 10:26:06 AM2/20/12
to eclim-dev


On Feb 14, 3:34 pm, Benjamin Fritz <fritzophre...@gmail.com> wrote:
Ingo Karkat posted a link to Microsoft's hotfix ( http://support.microsoft.com/kb/942589
) which allows a workaround for this problem, in the vim_dev thread I
started for it.

http://groups.google.com/group/vim_dev/browse_thread/thread/6787be590f76ba23

Maybe the build script on 64-bit Windows could do some similar path
trickery as I did in my .vimrc? I don't know whether it is worth it or
not.

Eric Van Dewoestine

unread,
Feb 20, 2012, 10:36:58 AM2/20/12
to ecli...@googlegroups.com

I think my last change[1] for this problem is good enough since the
build doesn't depend on chcp.com. The error message from the git call
will be printed while building but the build should still finish
successfully.

Benjamin Fritz

unread,
Feb 20, 2012, 10:54:20 AM2/20/12
to ecli...@googlegroups.com
On Mon, Feb 20, 2012 at 9:36 AM, Eric Van Dewoestine <erva...@gmail.com> wrote:
> I think my last change[1] for this problem is good enough since the
> build doesn't depend on chcp.com. The error message from the git call
> will be printed while building but the build should still finish
> successfully.

Oh, OK, I misunderstood what the fix was. I thought you were just
making the error more friendly. That should work too, on most systems
(i.e. as long as the default cmd.exe codepage can represent all the
required characters for whatever git is using it for).

Reply all
Reply to author
Forward
0 new messages