greptilian logo

IRC log for #friendlyjava, 2015-02-08

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:47 aditsu joined ##friendlyjava
05:09 aditsu joined ##friendlyjava
05:43 aditsu joined ##friendlyjava
06:55 mr_lou joined ##friendlyjava
08:17 Richard_2340985 joined ##friendlyjava
08:18 Richard_2340985 hi! maybe you can give me a hint on the problem I've described here? http://stackoverflow.com/questions/28381342/how-to-avoid-maven-building-twice-in-different-mojarra-versions?
08:33 Richard_2340985 my effective pom.xml: http://pastebin.com/kzrUTGxv
08:41 Richard_2340985 and here the one with version 2.2.8: http://pastebin.com/EtQmK48W
09:43 Richard_2340985 for easier comparison, here only the differences between the pom.xml files: http://pastebin.com/WrNYuact
10:37 Richard_2340985 here comparison of the effective settings: http://pastebin.com/LJvAZ1jB
10:41 Richard_2340985 maybe it has something to do with the maven-bundle-plugin?
10:51 lubieerror joined ##friendlyjava
11:03 lubieerror Hi :) Do anyone know livecd distribution of Linux where are java tools (I think working Eclipse + Java 7+ oracle or open working in livecd mode is enough)?
11:05 Richard_2340985 here is my maven output: http://pastebin.com/JVDGhrHb
12:47 pdurbin Richard_2340985: pretty weird
12:48 Richard_2340985 yeah, I just removed the CustomExporterFactory and it's building without problems again
12:48 Richard_2340985 but I really do not understand this behaviour
12:49 pdurbin Richard_2340985: odd. whelp, time to answer your own question on Stack Overflow I guess
12:50 Richard_2340985 nah, my question is how to get it into the project
12:50 Richard_2340985 the problem started when I was trying to integrate it
12:50 Richard_2340985 just going back to a state before is not really a solution
12:50 pdurbin oh
12:53 pdurbin bummer
12:58 Richard_2340985 Maybe it has something to do with this? https://netbeans.org/bugzilla/show_bug.cgi?id=204653
12:59 pdurbin hmm
12:59 pdurbin Richard_2340985: what if you run mvn from the command line?
13:00 Richard_2340985 I do.
13:01 Richard_2340985 That gave the output I put into the log-file.
13:01 Richard_2340985 first I thought it was a netbeans problem, but then I discovered that I have to build multiple times with different mojarra.version settings
13:03 Richard_2340985 my project is using jpa and spring security and primefaces push in addition to the primefaces extensions project
13:04 Richard_2340985 I took this: https://github.com/jlombardo/jsfsecure and integrated the primefaces 5.1 showcase
13:05 pdurbin what if you try to build from some other server? from jenkins or a VM or something
13:05 Richard_2340985 that might be an idea
13:05 Richard_2340985 I'd have to set that up, though.
13:06 pdurbin could use Vagrant. I build from my pom.xml in Vagrant: https://github.com/IQSS/dataverse/blob/master/Vagrantfile
13:07 Richard_2340985 or I put the project on github?
13:07 Richard_2340985 I don't really know anything about Vagrant
13:08 pdurbin here's where I build the war file: https://github.com/IQSS/dataverse/blob/master/scripts/vagrant/install-dataverse.sh
13:13 Richard_2340985 I don't really understand how that is supposed to help me/what you mean that I could learn from these files.
13:14 Richard_2340985 I just started to learn jee and stuff and don't know much about other tools.
13:19 pdurbin ok. just trying to help
13:22 Richard_2340985 yeah I appreciate that, I just don't understand what you mean
13:23 Richard_2340985 I mean when you say I should use a vm with another machine and try to build the project there, ok, I get that.
13:23 Richard_2340985 I just don't know what Vagrant has to do with that.
13:23 Richard_2340985 I don't know enough about the context.
13:26 pdurbin Richard_2340985: like you said, you could put it on github
13:27 pdurbin the main idea is to make sure it's not something particular to your computer
13:27 Richard_2340985 yeah, ok :)
13:28 Richard_2340985 I could not build it all, so I have been integrating each component one by one
13:29 Richard_2340985 to find the problems, now I think I fish that and then create a github repository for that
13:29 Richard_2340985 *finish
13:43 pdurbin +1
13:44 pdurbin Richard_2340985: so do you like JSF?
13:45 Richard_2340985 oh yes
13:45 Richard_2340985 primefaces is great
13:45 Richard_2340985 I want to build an eLearning platform with it
13:46 pdurbin like https://github.com/edx ?
13:47 Richard_2340985 yeah, looks nice
13:48 Richard_2340985 but I want to build a new way of learning
13:48 Richard_2340985 so that the platform will customize content for each student
13:49 Richard_2340985 but yeah, looks great, I definately gotta have a deeper look at it
13:50 Richard_2340985 *definitely
13:51 pdurbin so maybe more like this: Knewton - The World's Leading Adaptive Learning Technology Provider - http://www.knewton.com
13:53 pdurbin the adaptive learning part
14:02 Richard_2340985 yeah, more like that
14:02 Richard_2340985 I will also have a look at that :)
14:02 Richard_2340985 thanks!
14:22 pdurbin oh sure. I mean, it's not open source. but it seems neat
14:22 pdurbin Richard_2340985: so have you used other frameworks besides JSF? Spring? Ruby on Rails? Django? just curious
14:36 aditsu hi :) I'd like to help, but I don't use maven...
14:37 pdurbin aditsu: you're not too old to learn
14:37 aditsu no, but I'm not really interested in learning maven
14:40 aditsu ant and ivy are serving me well
14:50 Richard_2340985 hi :) don't know if it's really a maven problem :D
14:50 Richard_2340985 but it is pretty simple to read the files
14:59 pdurbin I never really got into ant. Never learned it properly. I just use maven. And now gradle for android stuff.
15:04 aditsu Richard_2340985: that's what you call "pretty simple"? :O :-&
15:13 Richard_2340985 :D
15:13 Richard_2340985 I mean it's just dependencies... the artifact and version that will be downloaded
15:14 Richard_2340985 the problem seems to be that some dependencies may not be compatible with each other...
15:15 Richard_2340985 the project just got a bit bigger because there so much stuff integrated
15:17 Richard_2340985 and yeah that stuff is a bit more complex, I'm at it for half a year now
15:17 Richard_2340985 all this JPA / JTA / security / primefaces stuff
15:18 Richard_2340985 and websockets
15:19 Richard_2340985 I still have to look at OSGi
15:20 Richard_2340985 and yeah, I had a look at Spring, but I want to work with EJB 3
15:21 Richard_2340985 and container managed transactions
15:22 Richard_2340985 maybe I should include lombok, then you have really few lines of code to get a lot of stuff
15:31 pdurbin maven pretty much "just works" for me
15:32 pdurbin Richard_2340985: java ee I find to be quite complex. JPA, JSF, etc.
15:33 pdurbin compared to say, PHP
15:34 Richard_2340985 yes, that is true
15:34 Richard_2340985 I meant that maven is not complex
15:34 Richard_2340985 java ee has a really steep learning curve
15:35 pdurbin and a 1000+ page tutorial :)
15:36 Richard_2340985 yeah... and there is so much more you need to know
15:36 Richard_2340985 it's hard just getting all the configs right to get things started
15:37 pdurbin oh sure. I'm often told I should go read the EJB spec, for example
15:37 pdurbin the tutorial just scratches the surface
15:37 Richard_2340985 yeah and you have to see where the filters and listeners come into place
15:37 pdurbin yeah
15:38 pdurbin aditsu: so we should switch to Wicket, right?
15:38 aditsu huh. what? sure
15:38 Richard_2340985 oh, I've read what an expert said: you have a steep learning curve, but then you get the most out of it
15:39 aditsu wicket is only a web framework though
15:40 Richard_2340985 things already thread safe and with transactions
15:41 Richard_2340985 I mean it's so great you just use entitymanager.persist(object); and it's put into the database
16:26 pdurbin I feel like entitymanager comes with a lot of complexity, but sure, once it's set up, it's fine.
16:30 Richard_2340985 yeah, exactly
16:30 Richard_2340985 now I've run into a problem with the timelines
16:31 Richard_2340985 guess it will take some time, till I get that stuff up and running^^
16:38 pdurbin good software takes time
16:43 mr_lou joined ##friendlyjava
17:00 pdurbin I think
17:20 Richard_2340985 yeah, the problem is, that they don't offer automatic combination
17:21 Richard_2340985 I guess we see frameworks now and will see framework-landscapes as the next step
17:23 Richard_2340985 they need to integrate websockets and access control lists into the standards
18:04 pdurbin hmm, well websockets at least is a standard
18:04 pdurbin https://jcp.org/en/jsr/detail?id=356
18:06 Richard_2340985 yeah, right I confuse things... it's just that primefaces uses this atmosphere implementation
18:07 Richard_2340985 Now I just get: INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
18:07 Richard_2340985 Schwerwiegend:   Error Rendering View[/sections/timeline/editServer.xhtml]
18:07 Richard_2340985 javax.el.PropertyNotFoundException: /sections/timeline/detailsDialog.xhtml @14,56 value="#{editServerTimelineCont​roller.event.data.roomNumber}": Target unreachable, base expression '. data' resolved to null
18:08 Richard_2340985 I had hoped that the timeline would work... but nope.
18:16 pdurbin yeah, we use atmosphere
18:20 Richard_2340985 I'm just a bit tired by now, but I will see that I clean up my project and put it on github asap.
18:22 Richard_2340985 ah, I have another idea
18:25 Richard_2340985 maybe I can send you the project here?

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode