Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Compile speed  (Read 2971 times)
0 Members and 1 Guest are viewing this topic.
Offline Sanxion

Junior Devvie




Java games rock!


« Posted 2003-02-02 19:32:27 »

What affects compile speed? and how can the time needed to compile be optimized? As my project grows it takes longer to compile... what can be done?
Offline markuskidd

Junior Devvie


Medals: 1



« Reply #1 - Posted 2003-02-02 19:44:00 »

incremental compilation, such as with http://www.eclipse.org/
Offline leknor

Junior Devvie




ROCK!!!


« Reply #2 - Posted 2003-02-02 23:50:09 »

Use Jikes: http://oss.software.ibm.com/developerworks/opensource/jikes/

It's free, it's very fast and has much more friendly and easier to understand error messagess. Many IDEs can use it too.

Also, if your use Ant as you build tool it can incrementally compile (among many other things) and it can use jikes.

If you're hoping to use something to build whatever you're working that has the custom classloaders I would recomend Ant. While using an IDE as a build tool can work it won't have the flexabiliity to setup and (re)package files like Ant.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Sanxion

Junior Devvie




Java games rock!


« Reply #3 - Posted 2003-02-03 05:42:39 »

Do the number of import statements matter and how specific they are?

i.e.
import thispackage.*;

vs.

import this.package.Thisclass;
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #4 - Posted 2003-02-03 06:34:29 »

Avoid 'make'.

Typically Java apps compile very fast (compared e.g. with C++ projects). If you use a decent IDE, it should always be a matter of seconds.

What are the timescales you are talking about? Maybe there's a principle mistake in your build process.

My project @work has by far >1000 classes and starts up within seconds from the IDE. A full rebuild takes some time (1minute or so?) but thats very rarely necessary.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline leknor

Junior Devvie




ROCK!!!


« Reply #5 - Posted 2003-02-03 12:58:39 »

Quote
Do the number of import statements matter and how specific they are?

Yes, but not by that much.
Offline Sanxion

Junior Devvie




Java games rock!


« Reply #6 - Posted 2003-02-05 14:09:29 »

Quote
What are the timescales you are talking about?


We're talking 5-7 seconds on a p2:650 mhz. At times I wish it were 1-3 seconds. Wink
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1668 views)
2018-06-10 19:43:48

EgonOlsen (1705 views)
2018-06-10 19:43:44

EgonOlsen (1156 views)
2018-06-10 19:43:20

DesertCoockie (1584 views)
2018-05-13 18:23:11

nelsongames (1184 views)
2018-04-24 18:15:36

nelsongames (1708 views)
2018-04-24 18:14:32

ivj94 (2532 views)
2018-03-24 14:47:39

ivj94 (1757 views)
2018-03-24 14:46:31

ivj94 (2834 views)
2018-03-24 14:43:53

Solater (970 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!