[infinispan-dev] Weird build error in IntelliJ

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[infinispan-dev] Weird build error in IntelliJ

"이희승 (Trustin Lee)"
I'm getting weird compilation errors when I build Infinispan via the
'Rebuild Project' menu item.  It seems to fail to resolve inner types.
For example:

/home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
error: not found: type Writer
public Writer getObjectWriter(Object o) throws IOException {

If I build from command line using Maven, everything goes fine.

Do you guys see the same problem?

Thanks

--
Trustin Lee, http://gleamynode.net/


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

signature.asc (302 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

Manik Surtani
I haven't seen this.  On master (5.0)?

On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:

> I'm getting weird compilation errors when I build Infinispan via the
> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
> For example:
>
> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
> error: not found: type Writer
> public Writer getObjectWriter(Object o) throws IOException {
>
> If I build from command line using Maven, everything goes fine.
>
> Do you guys see the same problem?
>
> Thanks
>
> --
> Trustin Lee, http://gleamynode.net/
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
[hidden email]
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org




_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

Mircea Markus
In reply to this post by "이희승 (Trustin Lee)"
I don't have it..
On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:

> I'm getting weird compilation errors when I build Infinispan via the
> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
> For example:
>
> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
> error: not found: type Writer
> public Writer getObjectWriter(Object o) throws IOException {
>
> If I build from command line using Maven, everything goes fine.
>
> Do you guys see the same problem?
>
> Thanks
>
> --
> Trustin Lee, http://gleamynode.net/
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

"이희승 (Trustin Lee)"
In reply to this post by Manik Surtani
Yeah, perhaps a regression in 10.5 EAP.  It seems OK as long as I don't
use 'Rebuild project'. :-)

On 04/21/2011 06:58 PM, Manik Surtani wrote:

> I haven't seen this.  On master (5.0)?
>
> On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:
>
>> I'm getting weird compilation errors when I build Infinispan via the
>> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
>> For example:
>>
>> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
>> error: not found: type Writer
>> public Writer getObjectWriter(Object o) throws IOException {
>>
>> If I build from command line using Maven, everything goes fine.
>>
>> Do you guys see the same problem?
>>
>> Thanks
>>
>> --
>> Trustin Lee, http://gleamynode.net/
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Manik Surtani
> [hidden email]
> twitter.com/maniksurtani
>
> Lead, Infinispan
> http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Trustin Lee, http://gleamynode.net/


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

signature.asc (302 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

Galder Zamarreno
I haven't seen it either...

On Apr 21, 2011, at 2:20 PM, 이희승 (Trustin Lee) wrote:

> Yeah, perhaps a regression in 10.5 EAP.  It seems OK as long as I don't
> use 'Rebuild project'. :-)
>
> On 04/21/2011 06:58 PM, Manik Surtani wrote:
>> I haven't seen this.  On master (5.0)?
>>
>> On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:
>>
>>> I'm getting weird compilation errors when I build Infinispan via the
>>> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
>>> For example:
>>>
>>> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
>>> error: not found: type Writer
>>> public Writer getObjectWriter(Object o) throws IOException {
>>>
>>> If I build from command line using Maven, everything goes fine.
>>>
>>> Do you guys see the same problem?
>>>
>>> Thanks
>>>
>>> --
>>> Trustin Lee, http://gleamynode.net/
>>>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> --
>> Manik Surtani
>> [hidden email]
>> twitter.com/maniksurtani
>>
>> Lead, Infinispan
>> http://www.infinispan.org
>>
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> --
> Trustin Lee, http://gleamynode.net/
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

"이희승 (Trustin Lee)"
This problem only occurs when 'in-process javac' is chosen in the
'Project Settings -> Java Compiler' page.  I also was using fsc (Fast
Scala Compiler) and '-make:transitive' also triggered compilation
errors.

It's a shame because in-process javac is much faster than traditional
javac or ecj.

On Tue 26 Apr 2011 07:39:43 PM KST, Galder Zamarreño wrote:

> I haven't seen it either...
>
> On Apr 21, 2011, at 2:20 PM, 이희승 (Trustin Lee) wrote:
>
>> Yeah, perhaps a regression in 10.5 EAP.  It seems OK as long as I don't
>> use 'Rebuild project'. :-)
>>
>> On 04/21/2011 06:58 PM, Manik Surtani wrote:
>>> I haven't seen this.  On master (5.0)?
>>>
>>> On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:
>>>
>>>> I'm getting weird compilation errors when I build Infinispan via the
>>>> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
>>>> For example:
>>>>
>>>> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
>>>> error: not found: type Writer
>>>> public Writer getObjectWriter(Object o) throws IOException {
>>>>
>>>> If I build from command line using Maven, everything goes fine.
>>>>
>>>> Do you guys see the same problem?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Trustin Lee, http://gleamynode.net/
>>>>
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>> --
>>> Manik Surtani
>>> [hidden email]
>>> twitter.com/maniksurtani
>>>
>>> Lead, Infinispan
>>> http://www.infinispan.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>>
>> --
>> Trustin Lee, http://gleamynode.net/
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] Weird build error in IntelliJ

Galder Zamarreno
Actually, just tried both settings and was able to rebuild Infinispan fine. I'll keep them running and see if I see same issues.

On Apr 27, 2011, at 3:47 PM, 이희승 (Trustin Lee) wrote:

> This problem only occurs when 'in-process javac' is chosen in the
> 'Project Settings -> Java Compiler' page.  I also was using fsc (Fast
> Scala Compiler) and '-make:transitive' also triggered compilation
> errors.
>
> It's a shame because in-process javac is much faster than traditional
> javac or ecj.
>
> On Tue 26 Apr 2011 07:39:43 PM KST, Galder Zamarreño wrote:
>> I haven't seen it either...
>>
>> On Apr 21, 2011, at 2:20 PM, 이희승 (Trustin Lee) wrote:
>>
>>> Yeah, perhaps a regression in 10.5 EAP.  It seems OK as long as I don't
>>> use 'Rebuild project'. :-)
>>>
>>> On 04/21/2011 06:58 PM, Manik Surtani wrote:
>>>> I haven't seen this.  On master (5.0)?
>>>>
>>>> On 21 Apr 2011, at 01:02, 이희승 (Trustin Lee) wrote:
>>>>
>>>>> I'm getting weird compilation errors when I build Infinispan via the
>>>>> 'Rebuild Project' menu item.  It seems to fail to resolve inner types.
>>>>> For example:
>>>>>
>>>>> /home/trustin/Workspace/infinispan/ISPN-1064/core/src/main/java/org/infinispan/marshall/jboss/ExternalizerTable.java
>>>>> error: not found: type Writer
>>>>> public Writer getObjectWriter(Object o) throws IOException {
>>>>>
>>>>> If I build from command line using Maven, everything goes fine.
>>>>>
>>>>> Do you guys see the same problem?
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> Trustin Lee, http://gleamynode.net/
>>>>>
>>>>> _______________________________________________
>>>>> infinispan-dev mailing list
>>>>> [hidden email]
>>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>>
>>>> --
>>>> Manik Surtani
>>>> [hidden email]
>>>> twitter.com/maniksurtani
>>>>
>>>> Lead, Infinispan
>>>> http://www.infinispan.org
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>>
>>> --
>>> Trustin Lee, http://gleamynode.net/
>>>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> --
>> Galder Zamarreño
>> Sr. Software Engineer
>> Infinispan, JBoss Cache
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev