jMule Forum Index jMule

FAQFAQ SearchSearch MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Login to check your private messagesLogin to check your private messages LoginLogin

compile problems

Post new topicReply to topic jMule Forum Index -> General jMule discussion
View previous topic :: View next topic
Author Message
Steppenwolf
visitor


Joined: 03 Mar 2003
Posts: 3

PostPosted: Tue Mar 04, 2003 14:33 Post subject: Reply with quote

Code:
--------------------Configuration: jmule - j2sdk1.4.1_02 --------------------
C:\Documents and Settings\Administrator\Desktop\jMule\src\org\jmule\util\MiscUtil.java:156: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
assert (userHash != null && userHash.length == 16);
^

I am getting 100s of this error when i compile jmule with jcreator.
Any idea??
Thanx
Back to top
View users profile Send private message Send email
emarant
Admin / Developer


Joined: 02 Oct 2002
Posts: 135

PostPosted: Tue Mar 04, 2003 19:41 Post subject: Reply with quote

Steppenwolf wrote:
Code:
--------------------Configuration: jmule - j2sdk1.4.1_02 --------------------
C:\Documents and Settings\Administrator\Desktop\jMule\src\org\jmule\util\MiscUtil.java:156: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
assert (userHash != null && userHash.length == 16);
^

I am getting 100s of this error when i compile jmule with jcreator.
Any idea??
Thanx


the javac call should include compiler flag "-source 1.4"
e.g. javac -cp "C:\Documents and Settings\Administrator\Desktop\jMule\src" -source 1.4 org.jmule.util.MiscUtil.java

p.s: please read first post of http://jmule.sourceforge.net/forum/viewtopic.php?t=72 to topic of this kind
Back to top
View users profile Send private message Send email
Steppenwolf
visitor


Joined: 03 Mar 2003
Posts: 3

PostPosted: Wed Mar 05, 2003 20:05 Post subject: Reply with quote

I compiled it with ant after seeing that there is no traffic at the forum. Anyway is the current cvs version "week_06_2003"?
Back to top
View users profile Send private message Send email
emarant
Admin / Developer


Joined: 02 Oct 2002
Posts: 135

PostPosted: Thu Mar 06, 2003 3:08 Post subject: Reply with quote

the jmule-0.01 branch http://jmule.sourceforge.net/forum/viewtopic.php?p=511#511 only bugfix are made on this branch
development for next release branch is main branch, week 6 is to old and doesn't contain latest bugfixes and enhancements icon_wink.gif
Back to top
View users profile Send private message Send email
Steppenwolf
visitor


Joined: 03 Mar 2003
Posts: 3

PostPosted: Thu Mar 06, 2003 13:32 Post subject: Reply with quote

thanx emarant. keep up the good work
Back to top
View users profile Send private message Send email
Display posts from previous:
Post new topicReply to topic jMule Forum Index -> General jMule discussion All times are GMT + 1 Hour
Page 1 of 1


Jump to:
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.3 2001, 2002 phpBB Group