Re: wicket 1.5 build is failing because of 1.6 deps...

2009-12-30 Thread Michael Mosmann
Let's call it wicket 1.5, use java 1.6 and make it happen..
Then, after we finished this, we can try to backport wicket 1.5 to java
1.5 ... if anybody want's it.

mm:)



TeamCity and cannot find symbol

2009-12-30 Thread Major Péter
Hi all,

I had just commited the javaee-inject project to Wicket Stuff, and have
some problems with TeamCity. I tried to build the 'Core Projects'
project, but keep getting cannot find symbols errors (with enforced
clean checkout too)...
The thing is, that the project is depending on geronimo-ejb_3.0_spec,
which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
doesn't recognizes this, and give me 'cannot find symbol' messages
related to the annotation jar classes.
I just had a fresh mvn clean install with an empty local maven
repository on a different machine and it builded there too. I'm
suspecting that the source of the problem is maybe in the bamboo
profile, but can't see what..
Could someone help me, to make the build right again?
Thanks

Regards,
Peter


Re: TeamCity and cannot find symbol

2009-12-30 Thread Major Péter
I solved it, I added the annotation too as dependency to the project and
the problem has disappeared, but still I don't understand why was that
neccessary...
After that, I got error for @Override annotation, because I used it on
an interface derived function:
'method does not override a method from its superclass'
hmm, what the hell??
But after all the Core projects build is back to normal.

p.s.: Now I have one more reason to use Hudson for continuus build mgmt...

Regards,
Peter

2009-12-30 13:14 keltezéssel, Major Péter írta:
> Hi all,
> 
> I had just commited the javaee-inject project to Wicket Stuff, and have
> some problems with TeamCity. I tried to build the 'Core Projects'
> project, but keep getting cannot find symbols errors (with enforced
> clean checkout too)...
> The thing is, that the project is depending on geronimo-ejb_3.0_spec,
> which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
> doesn't recognizes this, and give me 'cannot find symbol' messages
> related to the annotation jar classes.
> I just had a fresh mvn clean install with an empty local maven
> repository on a different machine and it builded there too. I'm
> suspecting that the source of the problem is maybe in the bamboo
> profile, but can't see what..
> Could someone help me, to make the build right again?
> Thanks
> 
> Regards,
> Peter


Re: TeamCity and cannot find symbol

2009-12-30 Thread Igor Vaynberg
2009/12/30 Major Péter :

> After that, I got error for @Override annotation, because I used it on
> an interface derived function:
> 'method does not override a method from its superclass'
> hmm, what the hell??

TC is configured to build with java5, not 6.

-igor


> But after all the Core projects build is back to normal.
>
> p.s.: Now I have one more reason to use Hudson for continuus build mgmt...
>
> Regards,
> Peter
>
> 2009-12-30 13:14 keltezéssel, Major Péter írta:
>> Hi all,
>>
>> I had just commited the javaee-inject project to Wicket Stuff, and have
>> some problems with TeamCity. I tried to build the 'Core Projects'
>> project, but keep getting cannot find symbols errors (with enforced
>> clean checkout too)...
>> The thing is, that the project is depending on geronimo-ejb_3.0_spec,
>> which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
>> doesn't recognizes this, and give me 'cannot find symbol' messages
>> related to the annotation jar classes.
>> I just had a fresh mvn clean install with an empty local maven
>> repository on a different machine and it builded there too. I'm
>> suspecting that the source of the problem is maybe in the bamboo
>> profile, but can't see what..
>> Could someone help me, to make the build right again?
>> Thanks
>>
>> Regards,
>> Peter
>


[announce] Wicket Stuff Core - JavaEE Inject

2009-12-30 Thread Major Péter
Hi all,

I am proud to announce the semi-new JavaEE Inject project in Wicket
Stuff Core, which was formerly known as wicket-contrib-javaee.

The goal of the project:
Make the @EJB, @Resource and @PersistenceUnit annotations available for
Wicket users, to make the development more easier. This means, that when
your components are instantiating, the annotated fields will be injected
properly, so you can use them for whatever you want.

The project itself didn't changed much, some javac warnings has been
solved, but it has now a newer Example application too, which will
demonstrate for you the usage of the annotation based injecting. The
example is based on maven, so this would be also a good example on how
to use enterprise applications with wicket and maven.

So now, if you think, that this stuff is cool and want to use it, you
only have to do the followings:
- Add Wicket Stuff Repository to your maven repository list (if you've
not already done so):

wicket-stuff
default
http://wicketstuff.org/maven/repository

- Add the JavaEE Inject dependency to your web module:

org.wicketstuff
javaee-inject
1.4-SNAPSHOT

- Follow the Wiki instructions at
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee or
try out for yourself the example application.
- Profit

Project Future:
In the future, I would like to create a more up-to-date documentation
for the project, better JavaDoc, and solve the JIRA issues too, and of
course follow the modifications of the Wicket framework, so the project
could work with the newest version always.

Best Regards,
Peter Major


Re: [announce] Wicket Stuff Core - JavaEE Inject

2009-12-30 Thread Major Péter
Hi,

I would like to ask for Wicket Stuff JIRA access ('aldaris' user), and
also a confluence access to wicket-contrib-javaee wiki pages (can a new
one be created named as javaee-inject and a redirect for the
wicket-contrib-javaee page?). For the confluence I don't have user
account, because at the sign up page I get:
org.springframework.transaction.UnexpectedRollbackException: Transaction
rolled back because it has been marked as rollback-only

Thanks,
Peter

2009-12-31 00:51 keltezéssel, Major Péter írta:
> Hi all,
> 
> I am proud to announce the semi-new JavaEE Inject project in Wicket
> Stuff Core, which was formerly known as wicket-contrib-javaee.
> 
> The goal of the project:
> Make the @EJB, @Resource and @PersistenceUnit annotations available for
> Wicket users, to make the development more easier. This means, that when
> your components are instantiating, the annotated fields will be injected
> properly, so you can use them for whatever you want.
> 
> The project itself didn't changed much, some javac warnings has been
> solved, but it has now a newer Example application too, which will
> demonstrate for you the usage of the annotation based injecting. The
> example is based on maven, so this would be also a good example on how
> to use enterprise applications with wicket and maven.
> 
> So now, if you think, that this stuff is cool and want to use it, you
> only have to do the followings:
> - Add Wicket Stuff Repository to your maven repository list (if you've
> not already done so):
> 
> wicket-stuff
> default
> http://wicketstuff.org/maven/repository
> 
> - Add the JavaEE Inject dependency to your web module:
> 
> org.wicketstuff
> javaee-inject
> 1.4-SNAPSHOT
> 
> - Follow the Wiki instructions at
> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee or
> try out for yourself the example application.
> - Profit
> 
> Project Future:
> In the future, I would like to create a more up-to-date documentation
> for the project, better JavaDoc, and solve the JIRA issues too, and of
> course follow the modifications of the Wicket framework, so the project
> could work with the newest version always.
> 
> Best Regards,
> Peter Major