... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to build in IntelliJ
#1
Based on the troublesome popup-windows performance mentioned in post RouteConverter and Mac OS X, you advise:
(25.08.2010, 06:03)routeconverter Wrote: They best way to debug would be if you'd started RouteConverter from an IDE like IntelliJ IDEA or Eclipse, put a breakpoint on ConvertPanel#saveFile()
and start the debugger.
So, I now have IntelliJ 9.0.3.
I imported the maven project and built it (I think). That was succesful, at least that's what it mentions in the end, but I can't find a .jar anywhere.
I then selected the "RouteConverterMac64" from the navigation tree and selected "make module ..." but it mentioned "All files are up-to-date".
Again: Nowhere a .jar.

I read some of the documentation but I'm too much of a beginner in this to get to a fast result.

Can you give me some stepwise approach on how to simply import the project and build it correctly?
(It might be handy as well for other beginners that need to test something. In that case it could be added to the FAQs)
Reply
#2
(25.08.2010, 20:09)hvdwolf Wrote: I imported the maven project and built it (I think).

Great, you don't need a jar.

(25.08.2010, 20:09)hvdwolf Wrote: I read some of the documentation but I'm too much of a beginner in this to get to a fast result.

You're doing great!

(25.08.2010, 20:09)hvdwolf Wrote: Can you give me some stepwise approach on how to simply import the project and build it correctly?
(It might be handy as well for other beginners that need to test something. In that case it could be added to the FAQs)

I guess you know http://www.routeconverter.de/svn/RouteCo...README.txt
  • choose 'Go To/Class...' (Ctrl-N) and type 'RouteConverter6'
  • right click on the tab to select 'Debug RouteConverter6.main()...'
  • choose 'Run/Edit configurations...' and 'RouteConverter6'
  • at 'Use classpath and JDK of module' use 'RouteConverterMac64' and 'Apply'
  • choose 'Go To/Class...' (Ctrl-N) and type 'ConvertPanel'
  • search for 'public void saveFile()' and left click left on the line below to set a breakpoint at line 684
  • choose 'Run/Debug'

Does that help?
--
Christian
Reply
#3
(25.08.2010, 21:12)routeconverter Wrote: I guess you know http://www.routeconverter.de/svn/RouteCo...README.txt
Yes, but it doesn't describe how to do this.

(25.08.2010, 21:12)routeconverter Wrote: Does that help?
Absolutely, thanks.

Now that is solved I will continue again in the original RouteConverter and Mac OS X thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)