You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Vaneet Sharma <va...@iwg.info> on 2005/07/22 10:42:55 UTC

JDK 1.5.0 Build LOG

Please have a look at log below :) 

(The Warnings are in BOLD )

C:\vaneet\RollerSrc\roller>build all
C:\jdk1.5.0\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar;.\tools\bu
ildtime\
ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.2\ant-junit.jar;.\t
ools\bui
ldtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtime\ant-1.6.2\commons
-net-1.2
2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.jar;.\tools\buildti
me\junit
-3.8.1.jar
Buildfile: build.xml

gen-forms:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\src.presenta
tion
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\src.business

    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\META-INF
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\junk
[ejbdoclet] (XDocletMain.start                   47  ) Running
<strutsform/>
[ejbdoclet] --> WeblogCategoryDataForm
[ejbdoclet] --> RollerConfigDataForm
[ejbdoclet] --> RefererDataForm
[ejbdoclet] --> PageDataForm
[ejbdoclet] --> FolderDataForm
[ejbdoclet] --> PlanetSubscriptionDataForm
[ejbdoclet] --> WebsiteDisplayDataForm
[ejbdoclet] --> WebsiteDataForm
[ejbdoclet] --> PlanetGroupDataForm
[ejbdoclet] --> CommentDataForm
[ejbdoclet] --> UserDataForm
[ejbdoclet] --> PingTargetDataForm
[ejbdoclet] --> WeblogEntryDataForm
[ejbdoclet] --> BookmarkDataForm
[ejbdoclet] --> RoleDataForm
[ejbdoclet] --> PlanetConfigDataForm
[ejbdoclet] (XDocletMain.start                   47  ) Running
<dataobject/>
     [move] Moving 16 files to
C:\vaneet\RollerSrc\roller\build\generated\src.pr
esentation\org\roller\presentation\forms

gen-hibernate:
[hibernatedoclet] (XDocletMain.start                   47  ) Running
<hibernate/
>
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogCategoryDat
a.
[hibernatedoclet]    org.roller.pojos.WeblogCategoryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RollerConfigData.

[hibernatedoclet]    org.roller.pojos.RollerConfigData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RefererData.
[hibernatedoclet]    org.roller.pojos.RefererData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetGroupSubscr
iptionAssoc.
[hibernatedoclet]    org.roller.pojos.PlanetGroupSubscriptionAssoc
[hibernatedoclet] Generating mapping file for org.roller.pojos.PageData.
[hibernatedoclet]    org.roller.pojos.PageData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogCategoryAss
oc.
[hibernatedoclet]    org.roller.pojos.WeblogCategoryAssoc
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RollerPropertyDat
a.
[hibernatedoclet]    org.roller.pojos.RollerPropertyData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.FolderData.
[hibernatedoclet]    org.roller.pojos.FolderData
[hibernatedoclet] Generating mapping file for
org.roller.business.HitCountData.
[hibernatedoclet]    org.roller.business.HitCountData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetSubscriptio
nData.
[hibernatedoclet]    org.roller.pojos.PlanetSubscriptionData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetEntryData.
[hibernatedoclet]    org.roller.pojos.PlanetEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WebsiteData.
[hibernatedoclet]    org.roller.pojos.WebsiteData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetGroupData.
[hibernatedoclet]    org.roller.pojos.PlanetGroupData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.FolderAssoc.
[hibernatedoclet]    org.roller.pojos.FolderAssoc
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingCategoryRestr
ictionData.
[hibernatedoclet]    org.roller.pojos.PingCategoryRestrictionData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.EntryAttributeDat
a.
[hibernatedoclet]    org.roller.pojos.EntryAttributeData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.CommentData.
[hibernatedoclet]    org.roller.pojos.CommentData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.AutoPingData.
[hibernatedoclet]    org.roller.pojos.AutoPingData
[hibernatedoclet] Generating mapping file for org.roller.pojos.UserData.
[hibernatedoclet]    org.roller.pojos.UserData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingTargetData.
[hibernatedoclet]    org.roller.pojos.PingTargetData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogEntryData.
[hibernatedoclet]    org.roller.pojos.WeblogEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.UserCookieData.
[hibernatedoclet]    org.roller.pojos.UserCookieData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.BookmarkData.
[hibernatedoclet]    org.roller.pojos.BookmarkData
[hibernatedoclet] Generating mapping file for org.roller.pojos.RoleData.
[hibernatedoclet]    org.roller.pojos.RoleData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingQueueEntryDat
a.
[hibernatedoclet]    org.roller.pojos.PingQueueEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetConfigData.

[hibernatedoclet]    org.roller.pojos.PlanetConfigData

gen-web:
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\roller\WEB-INF
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\compile_web\META-INF\t
lds
[webdoclet] (XDocletMain.start                   47  ) Running
<deploymentdescri
ptor/>
[webdoclet] Generating web.xml.
[webdoclet] (XDocletMain.start                   47  ) Running
<jsptaglib/>
[webdoclet] Generating roller.tld.
[webdoclet] (XDocletMain.start                   47  ) Running
<strutsconfigxml/
>
[webdoclet] (TemplateSubTask.engineStarted       792 ) Generating output
'struts
-config.xml' using template file
'jar:file:/C:/vaneet/RollerSrc/roller/tools/bui
<file:/C:/vaneet/RollerSrc/roller/tools/bui> 
ldtime/xdoclet-1.2/lib/xdoclet-apache-module-1.2b4.jar!/xdoclet/modules/
apache/s
truts/resources/struts_config_xml.xdt'.
[webdoclet] (XDocletMain.start                   47  ) Running
<strutsvalidation
xml/>
[webdoclet] (TemplateSubTask.engineStarted       792 ) Generating output
'valida
tion.xml' using template file
'jar:file:/C:/vaneet/RollerSrc/roller/tools/buildt
<file:/C:/vaneet/RollerSrc/roller/tools/buildt> 
ime/xdoclet-1.2/lib/xdoclet-apache-module-1.2b4.jar!/xdoclet/modules/apa
che/stru
ts/resources/validation_xml.xdt'.

generate:

build-beans:
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\lib
    [javac] Compiling 137 source files to
C:\vaneet\RollerSrc\roller\build\compi
le_beans
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\model\RollerFactory.java:8
7: warning: non-varargs call of varargs method with inexact argument
type for la
st parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                 instanceMethod.invoke(rollerClass,
(Class[])null);
    [javac]                                                    ^
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\model\RollerFactory.java:1
08: warning: non-varargs call of varargs method with inexact argument
type for l
ast parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                         instanceMethod.invoke(rollerClass,
(Class[])
null);
    [javac]                                                            ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\lib\rollerbeans.jar

build-web:

prepare.resin:
    [javac] Compiling 184 source files to
C:\vaneet\RollerSrc\roller\build\compi
le_web
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\presentation\website\tags\
FileUploadTag.java:122: warning: non-varargs call of varargs method with
inexact
 argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                     new String[] {maxFileMB.toString(),
maxDirMB.toS
tring()}));
    [javac]                                  ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
     [copy] Copying 3 files to
C:\vaneet\RollerSrc\roller\build\compile_web

undo.resin:

stage-web:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\resources
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\tlds
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib\ro
llerweb.jar

copy-web:
     [copy] Copying 466 files to C:\vaneet\RollerSrc\roller\build\roller
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\cl
asses
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF
     [copy] Copying 41 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\
lib

stage-dbscripts:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\dbscrip
ts
     [copy] Copying 6 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\mysql
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\postgresql
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\hsql

build-contrib:
     [echo] making ../build/compile_contrib
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\compile_contrib

plugins:
    [javac] Compiling 10 source files to
C:\vaneet\RollerSrc\roller\build\compil
e_contrib
    [javac] Jul 22, 2005 10:10:34 AM java.util.jar.Attributes read
    [javac] WARNING: Duplicate name in Manifest: Class-Path
    [javac] Note:
C:\vaneet\RollerSrc\roller\contrib\plugins\src\org\roller\pres
entation\velocity\plugins\topictag\TopicTagPlugin.java uses unchecked or
unsafe
operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\compile_contrib
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\l
ib
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib\ro
llercontrib.jar

all:

BUILD SUCCESSFUL
Total time: 1 minute 57 seconds


Thankx again Matt.
Best Regards
Vaneet



-----Original Message-----
From: Matt Raible [mailto:mraible@gmail.com <ma...@gmail.com> ]
Sent: Thursday, July 21, 2005 11:26 PM
To: roller-user@incubator.apache.org
Subject: Re: Roller JDK 1.5 Build Error


Have you tried moving your JDK to a directory with not spaces?  Do you
get the same error?

Matt

On 7/21/05, Vaneet Sharma <va...@iwg.info> wrote:
> Dear All,
>
> 1) I downloaded  the source of Roller and also the tools package.
>
> 2) I put the tools folder in Roller directory
>
> 3) I am on trying to compile roller source code on Windows 2000
> professional.
>
> 4) I have JDK 1.5 installed in C:\Program Files\Java\jdk1.5.0
> 5) I went into the developer guide and followed the instructions
>
> I went to command prompt , typed build all and the following Exception
> came,
>
> C:\Program
> Files\Java\jdk1.5.0\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar
>
;.\tools\buildtime\ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.
2\ant-ju
>
nit.jar;.\tools\buildtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtim
e\ant-1.
>
6.2\commons-net-1.2.2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.
jar;.\to
> ols\buildtime\junit-3.8.1.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Java\jdk1/5/0\l
>
ib\tools/jar;/\tools\buildtime\ant-1/6/2\ant/jar;/\tools\buildtime\ant-1
/6/2\ant
>
-launcher/jar;/\tools\buildtime\ant-1/6/2\ant-junit/jar;/\tools\buildtim
e\ant-1/
>
6/2\ant-commons-net/jar;/\tools\buildtime\ant-1/6/2\commons-net-1/2/2/ja
r;/\tool
>
s\buildtime\ant-1/6/2\jakarta-oro-2/0/8/jar;/\tools\buildtime\junit-3/8/
1/jar
>
> To me, it could be the space between "program
> files".....................is it? any hints will be appreciated Kind
> Regards Vaneet
>
>
> Vaneet Sharma
> executive manager
> iDeasTank Limited
> an iwg business
> dolphins' court po 388
> valletta, m-malta/europe
> mobile:  +356 9943 8263
> skype:  CALLVANEET
> fax:     +356 9952 8888
> phone:   +356 9942 8888
>
> vaneet@iwg.info
> call me on www.skype.com - my ID is CALLVANEET
>
> Want a signature like this? - www.plaxo.com\signature
>
> iwg is a global e-mobile company creating, building and growing new
> businesses.  iwg founders are pioneers in creating multi-billion
> dollar mobile and Internet businesses in Europe, Asia and the US.
>
> www.iWG.info
> www.countryprofiler.com/iWG
> www.visitmalta.com
> www.mfc.com.mt
>
>
> Privileged/Confidential Information may be contained in this message. 
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or
> deliver this message to anyone. In such case, you should destroy this
> message and kindly notify the sender by reply email.
>




Vaneet Sharma
executive manager	
iDeasTank Limited	
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile:	 +356 9943 8263
skype:  CALLVANEET
fax:	 +356 9952 8888
phone:	 +356 9942 8888

vaneet@iwg.info
call me on www.skype.com - my ID is CALLVANEET

Want a signature like this? - www.plaxo.com\signature

iwg is a global e-mobile company creating, building and growing new businesses.  iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US.

www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt


Privileged/Confidential Information may be contained in this message.  If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.

Re: JDK 1.5.0 Build LOG

Posted by Anil Gangolli <an...@busybuddha.org>.
Yes, if I understand the hint, we could safely introduce casts in places where they've introduced varargs versions of the methods in 
order to avoid the JDK 1.5 build warnings for those building with 1.5.  I'll put this on the issue list.

Due to the class version increment, classes built with JDK 1.5 can't be run on 1.4.x (regardless of whether they use new language 
features).

So the dev team is generally building Roller with JDK 1.4.2, but some developers include JDK 1.5 in runtime testing;  Tomcat 
5.5.7/JDK 1.5 is my primary development test environment.  My "production" blog is still on 5.0.28/JDK 1.4.2.

Anyway, as a result, we don't normally see these warnings.

The "spaces in the names within a path issue" is a more general build issue; not specific to 1.5.  Try Matt's suggestion of wrapping 
in quotes.

--a.


----- Original Message ----- 
From: "Vaneet Sharma" <va...@iwg.info>
To: <ro...@incubator.apache.org>; <ma...@raibledesigns.com>
Sent: Friday, July 22, 2005 1:42 AM
Subject: JDK 1.5.0 Build LOG



Please have a look at log below :)

(The Warnings are in BOLD )

C:\vaneet\RollerSrc\roller>build all
C:\jdk1.5.0\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar;.\tools\bu
ildtime\
ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.2\ant-junit.jar;.\t
ools\bui
ldtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtime\ant-1.6.2\commons
-net-1.2
2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.jar;.\tools\buildti
me\junit
-3.8.1.jar
Buildfile: build.xml

gen-forms:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\src.presenta
tion
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\src.business

    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\generated\META-INF
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\junk
[ejbdoclet] (XDocletMain.start                   47  ) Running
<strutsform/>
[ejbdoclet] --> WeblogCategoryDataForm
[ejbdoclet] --> RollerConfigDataForm
[ejbdoclet] --> RefererDataForm
[ejbdoclet] --> PageDataForm
[ejbdoclet] --> FolderDataForm
[ejbdoclet] --> PlanetSubscriptionDataForm
[ejbdoclet] --> WebsiteDisplayDataForm
[ejbdoclet] --> WebsiteDataForm
[ejbdoclet] --> PlanetGroupDataForm
[ejbdoclet] --> CommentDataForm
[ejbdoclet] --> UserDataForm
[ejbdoclet] --> PingTargetDataForm
[ejbdoclet] --> WeblogEntryDataForm
[ejbdoclet] --> BookmarkDataForm
[ejbdoclet] --> RoleDataForm
[ejbdoclet] --> PlanetConfigDataForm
[ejbdoclet] (XDocletMain.start                   47  ) Running
<dataobject/>
     [move] Moving 16 files to
C:\vaneet\RollerSrc\roller\build\generated\src.pr
esentation\org\roller\presentation\forms

gen-hibernate:
[hibernatedoclet] (XDocletMain.start                   47  ) Running
<hibernate/
>
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogCategoryDat
a.
[hibernatedoclet]    org.roller.pojos.WeblogCategoryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RollerConfigData.

[hibernatedoclet]    org.roller.pojos.RollerConfigData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RefererData.
[hibernatedoclet]    org.roller.pojos.RefererData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetGroupSubscr
iptionAssoc.
[hibernatedoclet]    org.roller.pojos.PlanetGroupSubscriptionAssoc
[hibernatedoclet] Generating mapping file for org.roller.pojos.PageData.
[hibernatedoclet]    org.roller.pojos.PageData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogCategoryAss
oc.
[hibernatedoclet]    org.roller.pojos.WeblogCategoryAssoc
[hibernatedoclet] Generating mapping file for
org.roller.pojos.RollerPropertyDat
a.
[hibernatedoclet]    org.roller.pojos.RollerPropertyData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.FolderData.
[hibernatedoclet]    org.roller.pojos.FolderData
[hibernatedoclet] Generating mapping file for
org.roller.business.HitCountData.
[hibernatedoclet]    org.roller.business.HitCountData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetSubscriptio
nData.
[hibernatedoclet]    org.roller.pojos.PlanetSubscriptionData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetEntryData.
[hibernatedoclet]    org.roller.pojos.PlanetEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WebsiteData.
[hibernatedoclet]    org.roller.pojos.WebsiteData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetGroupData.
[hibernatedoclet]    org.roller.pojos.PlanetGroupData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.FolderAssoc.
[hibernatedoclet]    org.roller.pojos.FolderAssoc
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingCategoryRestr
ictionData.
[hibernatedoclet]    org.roller.pojos.PingCategoryRestrictionData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.EntryAttributeDat
a.
[hibernatedoclet]    org.roller.pojos.EntryAttributeData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.CommentData.
[hibernatedoclet]    org.roller.pojos.CommentData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.AutoPingData.
[hibernatedoclet]    org.roller.pojos.AutoPingData
[hibernatedoclet] Generating mapping file for org.roller.pojos.UserData.
[hibernatedoclet]    org.roller.pojos.UserData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingTargetData.
[hibernatedoclet]    org.roller.pojos.PingTargetData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.WeblogEntryData.
[hibernatedoclet]    org.roller.pojos.WeblogEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.UserCookieData.
[hibernatedoclet]    org.roller.pojos.UserCookieData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.BookmarkData.
[hibernatedoclet]    org.roller.pojos.BookmarkData
[hibernatedoclet] Generating mapping file for org.roller.pojos.RoleData.
[hibernatedoclet]    org.roller.pojos.RoleData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PingQueueEntryDat
a.
[hibernatedoclet]    org.roller.pojos.PingQueueEntryData
[hibernatedoclet] Generating mapping file for
org.roller.pojos.PlanetConfigData.

[hibernatedoclet]    org.roller.pojos.PlanetConfigData

gen-web:
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\roller\WEB-INF
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\compile_web\META-INF\t
lds
[webdoclet] (XDocletMain.start                   47  ) Running
<deploymentdescri
ptor/>
[webdoclet] Generating web.xml.
[webdoclet] (XDocletMain.start                   47  ) Running
<jsptaglib/>
[webdoclet] Generating roller.tld.
[webdoclet] (XDocletMain.start                   47  ) Running
<strutsconfigxml/
>
[webdoclet] (TemplateSubTask.engineStarted       792 ) Generating output
'struts
-config.xml' using template file
'jar:file:/C:/vaneet/RollerSrc/roller/tools/bui
<file:/C:/vaneet/RollerSrc/roller/tools/bui>
ldtime/xdoclet-1.2/lib/xdoclet-apache-module-1.2b4.jar!/xdoclet/modules/
apache/s
truts/resources/struts_config_xml.xdt'.
[webdoclet] (XDocletMain.start                   47  ) Running
<strutsvalidation
xml/>
[webdoclet] (TemplateSubTask.engineStarted       792 ) Generating output
'valida
tion.xml' using template file
'jar:file:/C:/vaneet/RollerSrc/roller/tools/buildt
<file:/C:/vaneet/RollerSrc/roller/tools/buildt>
ime/xdoclet-1.2/lib/xdoclet-apache-module-1.2b4.jar!/xdoclet/modules/apa
che/stru
ts/resources/validation_xml.xdt'.

generate:

build-beans:
    [mkdir] Created dir: C:\vaneet\RollerSrc\roller\build\lib
    [javac] Compiling 137 source files to
C:\vaneet\RollerSrc\roller\build\compi
le_beans
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\model\RollerFactory.java:8
7: warning: non-varargs call of varargs method with inexact argument
type for la
st parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                 instanceMethod.invoke(rollerClass,
(Class[])null);
    [javac]                                                    ^
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\model\RollerFactory.java:1
08: warning: non-varargs call of varargs method with inexact argument
type for l
ast parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                         instanceMethod.invoke(rollerClass,
(Class[])
null);
    [javac]                                                            ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\lib\rollerbeans.jar

build-web:

prepare.resin:
    [javac] Compiling 184 source files to
C:\vaneet\RollerSrc\roller\build\compi
le_web
    [javac]
C:\vaneet\RollerSrc\roller\src\org\roller\presentation\website\tags\
FileUploadTag.java:122: warning: non-varargs call of varargs method with
inexact
 argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to
suppress th
is warning
    [javac]                     new String[] {maxFileMB.toString(),
maxDirMB.toS
tring()}));
    [javac]                                  ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
     [copy] Copying 3 files to
C:\vaneet\RollerSrc\roller\build\compile_web

undo.resin:

stage-web:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\resources
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\tlds
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib\ro
llerweb.jar

copy-web:
     [copy] Copying 466 files to C:\vaneet\RollerSrc\roller\build\roller
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\cl
asses
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF
     [copy] Copying 41 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\
lib

stage-dbscripts:
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\dbscrip
ts
     [copy] Copying 6 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\mysql
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\postgresql
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\d
bscripts\hsql

build-contrib:
     [echo] making ../build/compile_contrib
    [mkdir] Created dir:
C:\vaneet\RollerSrc\roller\build\compile_contrib

plugins:
    [javac] Compiling 10 source files to
C:\vaneet\RollerSrc\roller\build\compil
e_contrib
    [javac] Jul 22, 2005 10:10:34 AM java.util.jar.Attributes read
    [javac] WARNING: Duplicate name in Manifest: Class-Path
    [javac] Note:
C:\vaneet\RollerSrc\roller\contrib\plugins\src\org\roller\pres
entation\velocity\plugins\topictag\TopicTagPlugin.java uses unchecked or
unsafe
operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 1 file to
C:\vaneet\RollerSrc\roller\build\compile_contrib
     [copy] Copying 9 files to
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\l
ib
      [jar] Building jar:
C:\vaneet\RollerSrc\roller\build\roller\WEB-INF\lib\ro
llercontrib.jar

all:

BUILD SUCCESSFUL
Total time: 1 minute 57 seconds


Thankx again Matt.
Best Regards
Vaneet



-----Original Message-----
From: Matt Raible [mailto:mraible@gmail.com <ma...@gmail.com> ]
Sent: Thursday, July 21, 2005 11:26 PM
To: roller-user@incubator.apache.org
Subject: Re: Roller JDK 1.5 Build Error


Have you tried moving your JDK to a directory with not spaces?  Do you
get the same error?

Matt

On 7/21/05, Vaneet Sharma <va...@iwg.info> wrote:
> Dear All,
>
> 1) I downloaded  the source of Roller and also the tools package.
>
> 2) I put the tools folder in Roller directory
>
> 3) I am on trying to compile roller source code on Windows 2000
> professional.
>
> 4) I have JDK 1.5 installed in C:\Program Files\Java\jdk1.5.0
> 5) I went into the developer guide and followed the instructions
>
> I went to command prompt , typed build all and the following Exception
> came,
>
> C:\Program
> Files\Java\jdk1.5.0\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar
>
;.\tools\buildtime\ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.
2\ant-ju
>
nit.jar;.\tools\buildtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtim
e\ant-1.
>
6.2\commons-net-1.2.2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.
jar;.\to
> ols\buildtime\junit-3.8.1.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Java\jdk1/5/0\l
>
ib\tools/jar;/\tools\buildtime\ant-1/6/2\ant/jar;/\tools\buildtime\ant-1
/6/2\ant
>
-launcher/jar;/\tools\buildtime\ant-1/6/2\ant-junit/jar;/\tools\buildtim
e\ant-1/
>
6/2\ant-commons-net/jar;/\tools\buildtime\ant-1/6/2\commons-net-1/2/2/ja
r;/\tool
>
s\buildtime\ant-1/6/2\jakarta-oro-2/0/8/jar;/\tools\buildtime\junit-3/8/
1/jar
>
> To me, it could be the space between "program
> files".....................is it? any hints will be appreciated Kind
> Regards Vaneet
>
>
> Vaneet Sharma
> executive manager
> iDeasTank Limited
> an iwg business
> dolphins' court po 388
> valletta, m-malta/europe
> mobile:  +356 9943 8263
> skype:  CALLVANEET
> fax:     +356 9952 8888
> phone:   +356 9942 8888
>
> vaneet@iwg.info
> call me on www.skype.com - my ID is CALLVANEET
>
> Want a signature like this? - www.plaxo.com\signature
>
> iwg is a global e-mobile company creating, building and growing new
> businesses.  iwg founders are pioneers in creating multi-billion
> dollar mobile and Internet businesses in Europe, Asia and the US.
>
> www.iWG.info
> www.countryprofiler.com/iWG
> www.visitmalta.com
> www.mfc.com.mt
>
>
> Privileged/Confidential Information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or
> deliver this message to anyone. In such case, you should destroy this
> message and kindly notify the sender by reply email.
>




Vaneet Sharma
executive manager
iDeasTank Limited
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile: +356 9943 8263
skype:  CALLVANEET
fax: +356 9952 8888
phone: +356 9942 8888

vaneet@iwg.info
call me on www.skype.com - my ID is CALLVANEET

Want a signature like this? - www.plaxo.com\signature

iwg is a global e-mobile company creating, building and growing new businesses.  iwg founders are pioneers in creating multi-billion 
dollar mobile and Internet businesses in Europe, Asia and the US.

www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt


Privileged/Confidential Information may be contained in this message.  If you are not the addressee indicated in this message (or 
responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message and kindly notify the sender by reply email.