You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Krzysztof Krzyżaniak <el...@kofeina.net> on 2010/10/13 17:03:28 UTC

thrift 0.5, java cant' be compiled without ivy and network connection

eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy=
Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml

init:

ivy-init-dirs:

ivy-download:

ivy-probe-antlib:

ivy-init-antlib:

resolve:

compile:
     [javac] 
/home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; 
set to false for repeatable builds
     [javac] Compiling 74 source files to 
/home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build

BUILD FAILED
/home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: Reference 
ivy.compile.classpath not found.

Total time: 0 seconds


eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ emacs build.xml
...
   <path id="compile.classpath">
     <path refid="ivy.compile.classpath" />
   </path>
...

It used to be (for example in 0.3.0):
   <path id="compile.classpath">
     <fileset dir="${ivy.lib.dir}">
       <include name="**/*.jar" />
     </fileset>
   </path>

Any quick fix for that?

   eloy

Re: thrift 0.5, java cant' be compiled without ivy and network connection

Posted by Krzysztof Krzyżaniak <el...@kofeina.net>.
Bryan Duxbury <br...@rapleaf.com> writes:

OK.

> Looks like perhaps the correct path is to file a ticket with this problem?
>
> 2010/10/13 Krzysztof Krzyżaniak <el...@kofeina.net>
>
>> There's no difference.
>>
>>
>> On 13.10.2010 17:14, Jake Luciani wrote:
>>
>>> try -Dnoivy=1
>>>
>>> 2010/10/13 Krzysztof Krzyżaniak<el...@kofeina.net>
>>>
>>>  eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy=
>>>> Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml
>>>>
>>>> init:
>>>>
>>>> ivy-init-dirs:
>>>>
>>>> ivy-download:
>>>>
>>>> ivy-probe-antlib:
>>>>
>>>> ivy-init-antlib:
>>>>
>>>> resolve:
>>>>
>>>> compile:
>>>>    [javac] /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125:
>>>> warning: 'includeantruntime' was not set, defaulting to
>>>> build.sysclasspath=last; set to false for repeatable builds
>>>>    [javac] Compiling 74 source files to
>>>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build
>>>>
>>>> BUILD FAILED
>>>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: Reference
>>>> ivy.compile.classpath not found.
>>>>
>>>> Total time: 0 seconds
>>>>
>>>>
>>>> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ emacs build.xml
>>>> ...
>>>>  <path id="compile.classpath">
>>>>    <path refid="ivy.compile.classpath" />
>>>>  </path>
>>>> ...
>>>>
>>>> It used to be (for example in 0.3.0):
>>>>  <path id="compile.classpath">
>>>>    <fileset dir="${ivy.lib.dir}">
>>>>      <include name="**/*.jar" />
>>>>    </fileset>
>>>>  </path>
>>>>
>>>> Any quick fix for that?
>>>>
>>>>  eloy
>>>>
>>>>
>>>
>>

-- 
-------e-l-o-y----------------------------e-l-o-y-@-k-o-f-e-i-n-a-.-n-e-t------

       jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej

Re: thrift 0.5, java cant' be compiled without ivy and network connection

Posted by Bryan Duxbury <br...@rapleaf.com>.
Looks like perhaps the correct path is to file a ticket with this problem?

2010/10/13 Krzysztof Krzyżaniak <el...@kofeina.net>

> There's no difference.
>
>
> On 13.10.2010 17:14, Jake Luciani wrote:
>
>> try -Dnoivy=1
>>
>> 2010/10/13 Krzysztof Krzyżaniak<el...@kofeina.net>
>>
>>  eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy=
>>> Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml
>>>
>>> init:
>>>
>>> ivy-init-dirs:
>>>
>>> ivy-download:
>>>
>>> ivy-probe-antlib:
>>>
>>> ivy-init-antlib:
>>>
>>> resolve:
>>>
>>> compile:
>>>    [javac] /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125:
>>> warning: 'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set to false for repeatable builds
>>>    [javac] Compiling 74 source files to
>>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build
>>>
>>> BUILD FAILED
>>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: Reference
>>> ivy.compile.classpath not found.
>>>
>>> Total time: 0 seconds
>>>
>>>
>>> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ emacs build.xml
>>> ...
>>>  <path id="compile.classpath">
>>>    <path refid="ivy.compile.classpath" />
>>>  </path>
>>> ...
>>>
>>> It used to be (for example in 0.3.0):
>>>  <path id="compile.classpath">
>>>    <fileset dir="${ivy.lib.dir}">
>>>      <include name="**/*.jar" />
>>>    </fileset>
>>>  </path>
>>>
>>> Any quick fix for that?
>>>
>>>  eloy
>>>
>>>
>>
>

Re: thrift 0.5, java cant' be compiled without ivy and network connection

Posted by Krzysztof Krzyżaniak <el...@kofeina.net>.
There's no difference.

On 13.10.2010 17:14, Jake Luciani wrote:
> try -Dnoivy=1
>
> 2010/10/13 Krzysztof Krzyżaniak<el...@kofeina.net>
>
>> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy=
>> Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml
>>
>> init:
>>
>> ivy-init-dirs:
>>
>> ivy-download:
>>
>> ivy-probe-antlib:
>>
>> ivy-init-antlib:
>>
>> resolve:
>>
>> compile:
>>     [javac] /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125:
>> warning: 'includeantruntime' was not set, defaulting to
>> build.sysclasspath=last; set to false for repeatable builds
>>     [javac] Compiling 74 source files to
>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build
>>
>> BUILD FAILED
>> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: Reference
>> ivy.compile.classpath not found.
>>
>> Total time: 0 seconds
>>
>>
>> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ emacs build.xml
>> ...
>>   <path id="compile.classpath">
>>     <path refid="ivy.compile.classpath" />
>>   </path>
>> ...
>>
>> It used to be (for example in 0.3.0):
>>   <path id="compile.classpath">
>>     <fileset dir="${ivy.lib.dir}">
>>       <include name="**/*.jar" />
>>     </fileset>
>>   </path>
>>
>> Any quick fix for that?
>>
>>   eloy
>>
>


Re: thrift 0.5, java cant' be compiled without ivy and network connection

Posted by Jake Luciani <ja...@gmail.com>.
try -Dnoivy=1

2010/10/13 Krzysztof Krzyżaniak <el...@kofeina.net>

> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy=
> Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml
>
> init:
>
> ivy-init-dirs:
>
> ivy-download:
>
> ivy-probe-antlib:
>
> ivy-init-antlib:
>
> resolve:
>
> compile:
>    [javac] /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>    [javac] Compiling 74 source files to
> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build
>
> BUILD FAILED
> /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml:125: Reference
> ivy.compile.classpath not found.
>
> Total time: 0 seconds
>
>
> eloy@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ emacs build.xml
> ...
>  <path id="compile.classpath">
>    <path refid="ivy.compile.classpath" />
>  </path>
> ...
>
> It used to be (for example in 0.3.0):
>  <path id="compile.classpath">
>    <fileset dir="${ivy.lib.dir}">
>      <include name="**/*.jar" />
>    </fileset>
>  </path>
>
> Any quick fix for that?
>
>  eloy
>