compiling source

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling source

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

looks like a change in the build on 3/5/08
I last downloaded on the 7th
I can build fine in eclipse but get some new messages.
when I try to build from ant I get a couple of messages I have not got
before.


ant clean-all
ant run-install
I got this message:
classes:
  [javac15] Compiling 4 source files to
C:\projects\java\ofbiz_svn\framework\start\build\classes
  [javac15] javac: invalid target release: 1.5

so I compiled in eclipse and it was sucessful.
then I run
ant run-install
got this message
jar:
      [jar] Building jar:
C:\projects\java\ofbiz_svn\framework\security\build\li
b\ofbiz-security.jar

prepare:

classes:

stubs:
     [rmic] RMI Compiling 1 class to
C:\projects\java\ofbiz_svn\framework\servic
e\build\classes
     [rmic] error: Invalid class file format in
C:\projects\java\ofbiz_svn\frame
work\service\build\classes\org\ofbiz\service\rmi\RemoteDispatcherImpl.class.
 The major.minor version '49.0' is too recent for this tool to understand.
     [rmic]
     [rmic] error: Class org.ofbiz.service.rmi.RemoteDispatcherImpl not
found.
     [rmic]
     [rmic] 2 errors
     [rmic]

BUILD FAILED
C:\projects\java\ofbiz_svn\build.xml:148: The following error occurred
while executing this line:
C:\projects\java\ofbiz_svn\framework\build.xml:140: The following error
occurred
 while executing this line:
C:\projects\java\ofbiz_svn\macros.xml:27: The following error occurred
while executing this line:
C:\projects\java\ofbiz_svn\framework\service\build.xml:53: Rmic failed;
see the compiler error output for details.

to my knowledge RMIC is not suppose to be compiled.
Not sure why the this only happens using ant.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJtsj+rP3NbaWWqE4RAqZ2AKC3yVt9kLpchF3hxgFr4f0qd3IRHACgkc7R
/4afclpe4EGlsCZ8CuVAsg4=
=uHkB
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: compiling source

Jacques Le Roux
Administrator
I don't get any of these on a clean updated copy, but some unrelated warnings

Jacques

From: "BJ Freeman" <[hidden email]>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> looks like a change in the build on 3/5/08
> I last downloaded on the 7th
> I can build fine in eclipse but get some new messages.
> when I try to build from ant I get a couple of messages I have not got
> before.
>
>
> ant clean-all
> ant run-install
> I got this message:
> classes:
>  [javac15] Compiling 4 source files to
> C:\projects\java\ofbiz_svn\framework\start\build\classes
>  [javac15] javac: invalid target release: 1.5
>
> so I compiled in eclipse and it was sucessful.
> then I run
> ant run-install
> got this message
> jar:
>      [jar] Building jar:
> C:\projects\java\ofbiz_svn\framework\security\build\li
> b\ofbiz-security.jar
>
> prepare:
>
> classes:
>
> stubs:
>     [rmic] RMI Compiling 1 class to
> C:\projects\java\ofbiz_svn\framework\servic
> e\build\classes
>     [rmic] error: Invalid class file format in
> C:\projects\java\ofbiz_svn\frame
> work\service\build\classes\org\ofbiz\service\rmi\RemoteDispatcherImpl.class.
> The major.minor version '49.0' is too recent for this tool to understand.
>     [rmic]
>     [rmic] error: Class org.ofbiz.service.rmi.RemoteDispatcherImpl not
> found.
>     [rmic]
>     [rmic] 2 errors
>     [rmic]
>
> BUILD FAILED
> C:\projects\java\ofbiz_svn\build.xml:148: The following error occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\framework\build.xml:140: The following error
> occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\macros.xml:27: The following error occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\framework\service\build.xml:53: Rmic failed;
> see the compiler error output for details.
>
> to my knowledge RMIC is not suppose to be compiled.
> Not sure why the this only happens using ant.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJtsj+rP3NbaWWqE4RAqZ2AKC3yVt9kLpchF3hxgFr4f0qd3IRHACgkc7R
> /4afclpe4EGlsCZ8CuVAsg4=
> =uHkB
> -----END PGP SIGNATURE-----
>

Reply | Threaded
Open this post in threaded view
|

Re: compiling source

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sigh i hate when this happens.
thanks for the feedback.


Jacques Le Roux sent the following on 3/11/2009 12:55 AM:

> I don't get any of these on a clean updated copy, but some unrelated
> warnings
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
> looks like a change in the build on 3/5/08
> I last downloaded on the 7th
> I can build fine in eclipse but get some new messages.
> when I try to build from ant I get a couple of messages I have not got
> before.
>
>
> ant clean-all
> ant run-install
> I got this message:
> classes:
>  [javac15] Compiling 4 source files to
> C:\projects\java\ofbiz_svn\framework\start\build\classes
>  [javac15] javac: invalid target release: 1.5
>
> so I compiled in eclipse and it was sucessful.
> then I run
> ant run-install
> got this message
> jar:
>      [jar] Building jar:
> C:\projects\java\ofbiz_svn\framework\security\build\li
> b\ofbiz-security.jar
>
> prepare:
>
> classes:
>
> stubs:
>     [rmic] RMI Compiling 1 class to
> C:\projects\java\ofbiz_svn\framework\servic
> e\build\classes
>     [rmic] error: Invalid class file format in
> C:\projects\java\ofbiz_svn\frame
> work\service\build\classes\org\ofbiz\service\rmi\RemoteDispatcherImpl.class.
>
> The major.minor version '49.0' is too recent for this tool to understand.
>     [rmic]
>     [rmic] error: Class org.ofbiz.service.rmi.RemoteDispatcherImpl not
> found.
>     [rmic]
>     [rmic] 2 errors
>     [rmic]
>
> BUILD FAILED
> C:\projects\java\ofbiz_svn\build.xml:148: The following error occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\framework\build.xml:140: The following error
> occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\macros.xml:27: The following error occurred
> while executing this line:
> C:\projects\java\ofbiz_svn\framework\service\build.xml:53: Rmic failed;
> see the compiler error output for details.
>
> to my knowledge RMIC is not suppose to be compiled.
> Not sure why the this only happens using ant.
>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJt6morP3NbaWWqE4RApf6AJ0cpC15cUoogBqxvbyvclq1sCJStACeMeay
dJdo7qhgxRihlVrvXmCiDKg=
=ugt6
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: compiling source

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not sure what changed
but I have 1.4 and 1.5 on the system.
this compile found 1.4.
so i hard coded ant to find he 1.5
now works
:D

BJ Freeman sent the following on 3/11/2009 5:09 AM:

> sigh i hate when this happens.
> thanks for the feedback.
>
>
> Jacques Le Roux sent the following on 3/11/2009 12:55 AM:
>> I don't get any of these on a clean updated copy, but some unrelated
>> warnings
>
>> Jacques
>
>> From: "BJ Freeman" <[hidden email]>
>> looks like a change in the build on 3/5/08
>> I last downloaded on the 7th
>> I can build fine in eclipse but get some new messages.
>> when I try to build from ant I get a couple of messages I have not got
>> before.
>
>
>> ant clean-all
>> ant run-install
>> I got this message:
>> classes:
>>  [javac15] Compiling 4 source files to
>> C:\projects\java\ofbiz_svn\framework\start\build\classes
>>  [javac15] javac: invalid target release: 1.5
>
>> so I compiled in eclipse and it was sucessful.
>> then I run
>> ant run-install
>> got this message
>> jar:
>>      [jar] Building jar:
>> C:\projects\java\ofbiz_svn\framework\security\build\li
>> b\ofbiz-security.jar
>
>> prepare:
>
>> classes:
>
>> stubs:
>>     [rmic] RMI Compiling 1 class to
>> C:\projects\java\ofbiz_svn\framework\servic
>> e\build\classes
>>     [rmic] error: Invalid class file format in
>> C:\projects\java\ofbiz_svn\frame
>> work\service\build\classes\org\ofbiz\service\rmi\RemoteDispatcherImpl.class.
>
>> The major.minor version '49.0' is too recent for this tool to understand.
>>     [rmic]
>>     [rmic] error: Class org.ofbiz.service.rmi.RemoteDispatcherImpl not
>> found.
>>     [rmic]
>>     [rmic] 2 errors
>>     [rmic]
>
>> BUILD FAILED
>> C:\projects\java\ofbiz_svn\build.xml:148: The following error occurred
>> while executing this line:
>> C:\projects\java\ofbiz_svn\framework\build.xml:140: The following error
>> occurred
>> while executing this line:
>> C:\projects\java\ofbiz_svn\macros.xml:27: The following error occurred
>> while executing this line:
>> C:\projects\java\ofbiz_svn\framework\service\build.xml:53: Rmic failed;
>> see the compiler error output for details.
>
>> to my knowledge RMIC is not suppose to be compiled.
>> Not sure why the this only happens using ant.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJuH2orP3NbaWWqE4RAn8DAJ0YQeYwnDKzIMsmq47r0ZvE9SCVRwCdHwSc
sLZU/156KoijAYbe0c4xE40=
=XqBh
-----END PGP SIGNATURE-----