Re: javac and hdk

2006-10-26 Thread Alexei Zakharov

Hi,

You may also create a javac batch file by yourself. Something like

---
set JAVAC_CLASS=org.eclipse.jdt.internal.compiler.batch.Main
harmony dir\java -cp ecj_3.2.jar %JAVAC_CLASS% %*
---

on Windows.

Thanks,

2006/10/26, Matthias Wessendorf [EMAIL PROTECTED]:

thx,

looks like maven2 has not an option like that

http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

-M

On 10/25/06, Gregory Shimansky [EMAIL PROTECTED] wrote:
 On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote:
  :)
 
  I wanna run the Trinidad build against javac from harmony!
 
  :)

 I think you can do it already and it should probably work. If Trinidad build
 uses ant, just using JAVA_HOME to point to Harmony would make it the JRE
 which ant uses.

 To use eclipse compiler (which is going to be used for Harmony javac) you can
 use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/
 directory). To make ant use it you can specify it in
 compiler=org.eclipse.jdt.core.JDTCompilerAdapter tag of javac ant target.

 Correct my if I missed something.

 [1]
 http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar



--
Alexei Zakharov,
Intel Enterprise Solutions Software Division


Re: javac and hdk

2006-10-25 Thread Geir Magnusson Jr.

LOL.  Soon.  Maybe tomorrow :)

Until then, use javac from Sun.  Or IBM. Or BEA. :)

geir


Matthias Wessendorf wrote:

ok, so when will there be an executable javac ? :)

On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:



Matthias Wessendorf wrote:
 hey,

 I think I read somewhere something about javac now in tools or so.
 I am currently not able to download the HDK, but is there (or in next
 snap) a javac executable?

There will be in an upcoming snapshot, but not in the HDK. The HDK is
not a JDK, but rather a full build of the modules of the classlibrary to
assist developers in developing modules in the classlibrary.  It allows
you to develop one at a time (rather than checking out the whole thing).

geir


 Thx,
 Matt







Re: javac and hdk

2006-10-25 Thread Matthias Wessendorf

:)

I wanna run the Trinidad build against javac from harmony!
:)

On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:

LOL.  Soon.  Maybe tomorrow :)

Until then, use javac from Sun.  Or IBM. Or BEA. :)

geir


Matthias Wessendorf wrote:
 ok, so when will there be an executable javac ? :)

 On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:


 Matthias Wessendorf wrote:
  hey,
 
  I think I read somewhere something about javac now in tools or so.
  I am currently not able to download the HDK, but is there (or in next
  snap) a javac executable?

 There will be in an upcoming snapshot, but not in the HDK. The HDK is
 not a JDK, but rather a full build of the modules of the classlibrary to
 assist developers in developing modules in the classlibrary.  It allows
 you to develop one at a time (rather than checking out the whole thing).

 geir

 
  Thx,
  Matt
 







--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


Re: javac and hdk

2006-10-25 Thread Geir Magnusson Jr.
It will be just a repackaging of the Eclipse Compiler, so just use that 
for now :)


geir


Matthias Wessendorf wrote:

:)

I wanna run the Trinidad build against javac from harmony!
:)

On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:

LOL.  Soon.  Maybe tomorrow :)

Until then, use javac from Sun.  Or IBM. Or BEA. :)

geir


Matthias Wessendorf wrote:
 ok, so when will there be an executable javac ? :)

 On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:


 Matthias Wessendorf wrote:
  hey,
 
  I think I read somewhere something about javac now in tools or so.
  I am currently not able to download the HDK, but is there (or in 
next

  snap) a javac executable?

 There will be in an upcoming snapshot, but not in the HDK. The HDK is
 not a JDK, but rather a full build of the modules of the 
classlibrary to
 assist developers in developing modules in the classlibrary.  It 
allows
 you to develop one at a time (rather than checking out the whole 
thing).


 geir

 
  Thx,
  Matt
 









Re: javac and hdk

2006-10-25 Thread Gregory Shimansky
On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote:
 :)

 I wanna run the Trinidad build against javac from harmony!

 :)

I think you can do it already and it should probably work. If Trinidad build 
uses ant, just using JAVA_HOME to point to Harmony would make it the JRE 
which ant uses.

To use eclipse compiler (which is going to be used for Harmony javac) you can 
use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/ 
directory). To make ant use it you can specify it in 
compiler=org.eclipse.jdt.core.JDTCompilerAdapter tag of javac ant target.

Correct my if I missed something.

[1] 
http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar

-- 
Gregory Shimansky, Intel Middleware Products Division


Re: javac and hdk

2006-10-25 Thread Matthias Wessendorf

thx,

looks like maven2 has not an option like that

http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

-M

On 10/25/06, Gregory Shimansky [EMAIL PROTECTED] wrote:

On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote:
 :)

 I wanna run the Trinidad build against javac from harmony!

 :)

I think you can do it already and it should probably work. If Trinidad build
uses ant, just using JAVA_HOME to point to Harmony would make it the JRE
which ant uses.

To use eclipse compiler (which is going to be used for Harmony javac) you can
use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/
directory). To make ant use it you can specify it in
compiler=org.eclipse.jdt.core.JDTCompilerAdapter tag of javac ant target.

Correct my if I missed something.

[1]
http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar

--
Gregory Shimansky, Intel Middleware Products Division




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


Re: javac and hdk

2006-10-25 Thread Nathan Beyer

It's possible, it's just not well documented and probably not well supported.

Note - you'll have to manually setup the bootclasspath arguments.

plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.4/source
   target1.4/target
   verbosetrue/verbose
   forkfalse/fork
   compilerIdeclipse/compilerId
   /configuration
   dependencies
   dependency
   groupIdorg.codehaus.plexus/groupId
   artifactIdplexus-compiler-eclipse/artifactId
   version1.5.1/version
   /dependency
/dependencies
/plugin

On 10/25/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:

thx,

looks like maven2 has not an option like that

http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

-M

On 10/25/06, Gregory Shimansky [EMAIL PROTECTED] wrote:
 On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote:
  :)
 
  I wanna run the Trinidad build against javac from harmony!
 
  :)

 I think you can do it already and it should probably work. If Trinidad build
 uses ant, just using JAVA_HOME to point to Harmony would make it the JRE
 which ant uses.

 To use eclipse compiler (which is going to be used for Harmony javac) you can
 use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/
 directory). To make ant use it you can specify it in
 compiler=org.eclipse.jdt.core.JDTCompilerAdapter tag of javac ant target.

 Correct my if I missed something.

 [1]
 http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar

 --
 Gregory Shimansky, Intel Middleware Products Division



--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com



Re: javac and hdk

2006-10-24 Thread Geir Magnusson Jr.



Matthias Wessendorf wrote:

hey,

I think I read somewhere something about javac now in tools or so.
I am currently not able to download the HDK, but is there (or in next
snap) a javac executable?


There will be in an upcoming snapshot, but not in the HDK. The HDK is 
not a JDK, but rather a full build of the modules of the classlibrary to 
assist developers in developing modules in the classlibrary.  It allows 
you to develop one at a time (rather than checking out the whole thing).


geir



Thx,
Matt



Re: javac and hdk

2006-10-24 Thread Matthias Wessendorf

ok, so when will there be an executable javac ? :)

On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:



Matthias Wessendorf wrote:
 hey,

 I think I read somewhere something about javac now in tools or so.
 I am currently not able to download the HDK, but is there (or in next
 snap) a javac executable?

There will be in an upcoming snapshot, but not in the HDK. The HDK is
not a JDK, but rather a full build of the modules of the classlibrary to
assist developers in developing modules in the classlibrary.  It allows
you to develop one at a time (rather than checking out the whole thing).

geir


 Thx,
 Matt





--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com