how to build in winXP with eclipes??

i have this error
Buildfile: G:\jnodesources\all\build.xml
prepare:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
assemble:
prepare:
compile:
[javac] Compiling 2 source files to G:\jnodesources\distr\build\classes
BUILD FAILED: G:\jnodesources\all\build.xml:94: Following error occured while executing this line
G:\jnodesources\distr\build.xml:31: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Total time: 4 seconds

Ant settings

Have a look at your ant settings, make sure to run Ant in a separate process (requires eclipse 3), otherwise you'll probably run out of memory soon.

Ewout

how run in seperate process

how can i runn ant in seperate process....
i have made some changes in the system..
let me see how it works...
but i know very littie about assemble coding
so tell me how can i run ant in a serepate process under winXP in eclipes

here are some hints

Hi,
I use eclipse 3.0 so here are my hints :

- after choosing run > 2 build.xml you will see the ant targets (e.g. all cdrom-lite and so on)
-> change to the JRE tab
-> check Seperate JRE (choose one from Installed JREs)
---optional---
-> add

-Xms512M
-Xmx640M

to VM arguments
---optional---

Trickkiste

i need some files nasmw.exe and the dll

can u tell me where i can find this two files

see comments in the JNode Documentation

See at the end of this post

Fabien

I am having this error.

[asm] nasm: unrecognised option `-I'
[asm] type `nasm -h' for help
BUILD FAILED: G:\jnodesources\all\build.xml:144: Following error occured while executing this line
G:\jnodesources\all\build-x86.xml:160: Asm failed on G:\jnodesources\core\src\native\x86\jnode.asm
Total time: 13 seconds

nasm version

Hi,
what version of nasm do you have?

Trickkiste
P.S.: I use :

NASM version 0.98.38 compiled on Sep 21 2003
...
-I adds a pathname to the include file path

can any one correct the asm files plz

[asm] kernel.asm:125: operation size not specified
[asm] kernel.asm:128: operation size not specified
[asm] ints.asm:247: short jump is out of range
[asm] ints.asm:592: short jump is out of range
[asm] ints.asm:603: short jump is out of range

Which version

Which version are you using?

The asm parts compile just fine for a few month already.

Ewout

CUP not match error while building

[jar] Building jar: G:\jnodesources\all\build\descriptors\jnode-builder.jar
prepare:
compile:
assemble:
arch-x86:
test-properties:
load-properties:
default-properties:
prepare-props:
prepare-dirs:
test-grub:
grub:
prepare:
asm-native:
java-image:
[bootimage] VmHeapManager being created..
[bootimage] Building for CPU: name:GenuineIntel family:0 model:0 step:0 features:FPU,PSE raw:00000001 756E6547 6C65746E 49656E69 00000000 00000000 00000000 00000009
[bootimage] java.io.IOException: Not Match CPU Type :G:\jnodesources\all\build\x86\native\output\jnode.o
[bootimage] at org.jnode.build.x86.BootImageBuilder.copyKernel(BootImageBuilder.java:122)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.doExecute(AbstractBootImageBuilder.java:204)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.execute(AbstractBootImageBuilder.java:123)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:301)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bootimage] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:301)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bootimage] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
[bootimage] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
[bootimage] Caused by: java.io.IOException: Not Match CPU Type :G:\jnodesources\all\build\x86\native\output\jnode.o
[bootimage] at org.jnode.linker.Elf.load(Elf.java:340)
[bootimage] at org.jnode.linker.Elf.newFromFile(Elf.java:162)
[bootimage] at org.jnode.build.x86.BootImageBuilder.copyKernel(BootImageBuilder.java:119)
[bootimage] ... 15 more
[bootimage] --- Nested Exception ---
[bootimage] java.io.IOException: Not Match CPU Type :G:\jnodesources\all\build\x86\native\output\jnode.o
[bootimage] at org.jnode.linker.Elf.load(Elf.java:340)
[bootimage] at org.jnode.linker.Elf.newFromFile(Elf.java:162)
[bootimage] at org.jnode.build.x86.BootImageBuilder.copyKernel(BootImageBuilder.java:119)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.doExecute(AbstractBootImageBuilder.java:204)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.execute(AbstractBootImageBuilder.java:123)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:301)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bootimage] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:301)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bootimage] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
[bootimage] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
BUILD FAILED: G:\jnodesources\all\build.xml:144: Following error occured while executing this line
G:\jnodesources\all\build-x86.xml:201: java.io.IOException: Not Match CPU Type :G:\jnodesources\all\build\x86\native\output\jnode.o

how to solve this??