frankgrimes97 Posted November 22, 2010 Share Posted November 22, 2010 Hi All,I downloaded netbeans-6.5.1-200903060201-ml and modified platform-private.properties to include the following:nbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).harness.dir=C:/netbeans-6.5.1-200903060201-ml/harnessnbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).label=NetBeans IDE 6.5.1 (Build 200903060201) nbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).netbeans.dest.dir=C:/netbeans-6.5.1-200903060201-mlI then ran ant create-ireport-distro-win-installer in the ireport-nb-3.7.6 directory to build the installer.There are two problems I have noticed...1) The iReport-3.7.6-windows-installer.exe file created is 220MB, compared to the 78MB of the binary download provided on the iReport web site.2) After installing the 220MB version built from the ant script, I get a bunch of warnings about missing modules when launching it So my questions are as follows...Are the instructions on the following pages up to date?http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_development.html?header=project&target=ireporthttp://jasperforge.org/website/ireportwebsite/IR%20Website/ir_compiling_ireport.html?header=project&target=ireportAlso, I'm no Netbeans platform expert, but is the nbproject/platform.properties file correct?I ask because it looks as though unneeded modules are being included (hence the larger install file size) which depend on others which are missing (hence the warnings on startup).Thanks,Frank Grimes Link to comment Share on other sites More sharing options...
frankgrimes97 Posted November 24, 2010 Author Share Posted November 24, 2010 Hi All,After some experimenting with ireport/nbproject/platform.properties I was able to get it to build something that launches without errors and runs a sample report.My built installer now weighs in at around 70 MB.Attached is the platform.properties that I used.Regards,Frank Grimes Link to comment Share on other sites More sharing options...
hozawa Posted December 19, 2010 Share Posted December 19, 2010 Thank for the file. The default property file packages everything including some files not supported in the community version. Link to comment Share on other sites More sharing options...
hegx Posted January 12, 2011 Share Posted January 12, 2011 Dear Frank Grimes,dear all,I downloaded netbeans-6.5.1-200903060201-ml,iReport-3.7.6-src and modified platform-private.properties to include the following: nbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).harness.dir=F:\\Program Files\\NetBeans 6.5.1\\harnessnbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).label=NetBeans IDE 6.5.1 (Build 200903060201) nbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).netbeans.dest.dir=F:\\Program Files\\NetBeans 6.5.1and then i run the main project,an error appears like this:F:\Program Files\NetBeans 6.5.1\harness\suite.xml:106: The following error occurred while executing this line:F:\Program Files\NetBeans 6.5.1\harness\build.xml:98: java.io.IOException: No definition of netbeans.dest.dir in D:\HGX-JAVAWORKS\iReport-3.7.6-src\jasperreports-componentsCould you tell me how to handle with it?Thanks,Hegx Link to comment Share on other sites More sharing options...
frankgrimes97 Posted January 12, 2011 Author Share Posted January 12, 2011 Try removing the netbeans platform name prefix... I believe it was added that way because I was using netbeans 6.9 with netbeans 6.5.1 platform.e.g. nbplatform.NetBeans_IDE_6.5.1_(Build_200903060201).netbeans.dest.dir --> netbeans.dest.dirRegards,Frank Grimes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now