Re: [Qt-jambi-interest] newbie java gui programmer: will qt jambi be stable enough to invest on it?
On Wednesday 09 of September 2009 07:12:28 José Arcángel Salazar Delgado wrote: I can recommend this plugin to maven for the autogeneration of the juics: http://sourceforge.net/projects/juic-mvn-plugin/ Uhh, very good news for me. I am testing it now, but I have a following problem: Simple maven project: src java foo test Main.java MainWindow.jui Plugin creates target/dependency/generatedJUICFiles/foo/test/Ui_MainWindow.java,but I can't use this file in sources (cannot find symbol). What I forgot to set up? Maybe some classpaths? I am still not maven guru yet :) Thanks -- Dusan ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] newbie java gui programmer: will qt jambi be stable enough to invest on it?
On Wednesday 09 of September 2009 10:00:17 José Arcángel Salazar Delgado wrote: Hmm, this maybe adds that jui .javas into build. idadd-source/id phasegenerate-sources/ph ase goals goaladd-source/g Thx -- Dusan ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
Now the further step is the choice of the IDE. At a first glance I prefer NetBeans, it seems to me a bit more clear and easier then the huge Eclipse. However I see that there's more talks about building and configuring Eclipse projects? What about Qt-Jambi? Does the platform plays a major role with it's ease of use? What are the respective pros and cons? I've never used Netbeans, so would also be interested to hear what people have to say about it. But Eclipse works very nicely with QtJambi. The Qt designer is properly integrated and all the build stuff just happens which is just how it should be. Eclipse understands about QtJambi projects, the content assist works as you'd expect, etc. As an emacs veteran of 20 years, I'd recommend Eclipse for QtJambi work - praise indeed. :) I can only speak for Eclipse on Linux, but I'd be surprised if other supported platforms were different. ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
Hi. My subjective point of view: I have used Netbeans and Jambi with ant and maven projects for a while, I never used Eclipse for any kind of development ( I extremely hate its keyboard shortcuts, which are difficult to remap and its gtk look ). First of all, I started with ant. So I unpacked jambi-bin distribution somewhere in my home, created simple java console app, added jambi jars to project ( different jar for each platform (!) ). If you are using maven, you must install jambi jars into repo ( I don't know official maven repo with jambi jars ). Next you could create some forms with designer and save juis somewhere in project tree. - This is first problem, because netbeans has no integration with it, so you must start designer manually. Designer.sh/bat script is not user friendly, because it ignores any parameters and starts empty designer, so you can't register .jui to open with it ( without some hacking ). So you must everytime, when designer starts, manually browse to directory where your .jui's are. - You must convert your jui's into .java manually, or create some script, or hack ant to have that done on buildtime. This is a little problem when you are developing the same app on linux and windoze. I rewrited all scripts into java ( uh ) and it is working now. - juic generates .java files with different encoding on different platforms, so if you have hardcoded your netbeans project in some encoding (eg.utf8), you could have a problem with encoding. My jambi-helper recodes that files. As Jose told me today, there exists juic maven plugin, which could do much stuff for you at buildtime. But - from my point of view, it is very cheap documented ( only some xml examples ) and harder to understand for me. For example, using xml examples from its website you create uncompileable project, because there is no information, how to include generated sources in project ( they are generated in target/..., which is not in sources path ). So again, if you are beginner, you have a deadlock :). My resume: I am successfully using jambi with netbeans, but it needed some effort to do before ( create custom scripts, modify env, reconfigure build scripts etc... ), so If you aren't skilled in this, you can't use jambi with netbeans. Forget that you could create jambi project by typical java-programmer way [ using mouse :-) ] with netbeans :(. -- Dusan ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
I extremely hate its keyboard shortcuts, which are difficult to remap and its gtk look BTW, to be honest, I am thinking about to give Eclipse second chance ( only for jambi projects ). Maybe when I will have some free time, I'll try it ... -- Dusan ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
Dusan Zatkovsky wrote: - You must convert your jui's into .java manually, or create some script, or hack ant to have that done on buildtime. This is a little problem when you are developing the same app on linux and windoze. I rewrited all scripts into java ( uh ) and it is working now. We do have the ant-qtjambi.jar to aid these things: Create the ant task: (taken from our build.xml) taskdef name=juic classpath=${outputDir}/ant-qtjambi.jar classname=com.trolltech.tools.ant.JuicTask/ Run Juic over all your data: (taken from our build.xml) juic message=Running Juic for all it is worth outputDir=${outputDir} trFunction= classNamePrefix= alwaysUpdate=true classpath=${sourceDir} include name=com/**/**.jui/ /juic That followed by a javac task should solve all juic / ant issues at least. - Gunnar ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] juic encoding
José Arcángel Salazar Delgado wrote: it is posible to add this feature to qt jambi? some troubles with the Ui_ files because the date is generated using iso-8859-1 instead of UTF-8 and this is making crashes with maven (for some reason, maven dislike these files). especially when the files are generated on wednesday (Miércoles in spanish). this is a example of a broken date Created: mi� sep 2 12:24:39 2009 LOL, the same problem here, juic on windows on some days use some strange charracters ( czech út, čt, pá, ... ). But I have written a small jambi-compile-helper, which I call before build ( I am not using Eclipse ) and it calls juic for all .jui files and recodes all ui_*.java files to utf8 on windows platform. This is and old issue in all qt jambi releases. It can be possible to disable the date in the generation of the Ui_? It´s a hell if you are working with subversion, beacuse the Ui_s always cause conflics for the generated date. I've pushed a fix where we no longer put the date into the comment section. It is available on qt.gitorious.org and will be part of the next release. best regards, Gunnar ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] juic encoding
Dear all, I observe that a prerelease of Qt 4.6 has hit the marked. What about a Jambi followup? Maybe a good candidate for teaching the community how to support a new release of Qt? I suggest that if Gunnar and Eskil is willing to have a look at what's necessary to do, they should also make an article about what they did and why so that it's possible to study the git diff to understand the necessary steps. Just a suggestion... Regards, Helge Fredriksen I've pushed a fix where we no longer put the date into the comment section. It is available on qt.gitorious.org and will be part of the next release. best regards, Gunnar ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
Dusan Zatkovsky wrote: I extremely hate its keyboard shortcuts, which are difficult to remap and its gtk look BTW, to be honest, I am thinking about to give Eclipse second chance ( only for jambi projects ). Maybe when I will have some free time, I'll try it ... From the information in the rest of your post I'd conclude that the Eclipse integration is way ahead of Netbeans, so I'd suggest having another look at Eclipse ASAP. I've used the last two releases of Eclipse - Ganymede and Galileo - and the key mapping is very effective and simple to use. Maybe your experience was a few releases ago? I'd agree about the looks, but once you've got the fonts to your liking everything else is sugar. Based on what you said, I'd point the OP straight to Eclipse. ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
Re: [Qt-jambi-interest] NetBeans or Eclipse?
Be or not to be? (or viceversa...) This question follows my previous one about the choice of Qt-Jambi respect to Swing... I've chosen to try Qt -Jambi because I already feel comportable with Qt. Now the further step is the choice of the IDE. At a first glance I prefer NetBeans, it seems to me a bit more clear and easier then the huge Eclipse. However I see that there's more talks about building and configuring Eclipse projects? What about Qt-Jambi? Does the platform plays a major role with it's ease of use? What are the respective pros and cons? Thanks again for your support. giovanni If you have good hardware (2 or more GBs in ram and Dual core processor) I recommend you eclipse. It's easy to create new projects and you have a lot of plugins to make your development faster (like the loggin plugin, task plugin, svn plugin, JPA integration, maven plugin, qt jambi integration plugin, etc.). If you are thinking in using Databases, I suggest that you use eclipselink for the connection and persistence management (the integration with eclipse dalí is excelent). I recommend to download the eclipse for JEE developers. Also, USE maven. With maven you can build all your project outside of eclipse, create execs, installers, etc. Everything that you need if somewant needs to program with a slow computer. PD: It is possible to upload the jambi jars to a public maven repository? ___ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest