frankgrimes97 Posted July 21, 2010 Share Posted July 21, 2010 When trying to build from the 3.7.4 tag in SVN, I get the following error when running the "create-ireport-distro-win-installer" target: File: Descending to: "..distiReport-3.7.4-windows-installerruby2jruby-1.1.4librubygems1.8gemsactionmailer-2.1.0testfixturespath.with.dots"File: Descending to: "..distiReport-3.7.4-windows-installerruby2jruby-1.1.4librubygems1.8gemsactionmailer-2.1.0testfixturespath.with.dotsfunky_path_mailer"File: failed opening file "..distiReport-3.7.4-windows-installerruby2jruby-1.1.4librubygems1.8gemsactionmailer-2.1.0testfixturespath.with.dotsfunky_path_mailermultipart_with_template_path_with_dots.erb"Error in script "C:UsersfrankgrimesDocumentsNetBeansProjectsireport-nb-3.7.4etciReportInstaller.nsi" on line 69 -- aborting creation processC:UsersfrankgrimesDocumentsNetBeansProjectsireport-nb-3.7.4build.xml:327: Command failed, error code 1: 'makensis /DPRODUCT_VERSION=3.7.4 /DPRODUCT_NAME=iReport /DPRODUCT_WEB_SITE=http://ireport.sourceforge.net C:UsersfrankgrimesDocumentsNetBeansProjectsireport-nb-3.7.4etciReportInstaller.nsi'- WIndows Vista 32-bit SP2- NSIS 2.46- NetBeans 6.9- NetBeans RCP 6.5.1 Is there a specific version of NSIS that I should be using? Thanks,Frank GrimesPost Edited by frankgrimes97 at 07/21/2010 17:47Post Edited by frankgrimes97 at 07/21/2010 17:47 Link to comment Share on other sites More sharing options...
frankgrimes97 Posted July 26, 2010 Author Share Posted July 26, 2010 Does nobody have an idea why the build is failing? Link to comment Share on other sites More sharing options...
frankgrimes97 Posted August 11, 2010 Author Share Posted August 11, 2010 I finally figured out that if the relative path on line 69 of iReportInstaller.nsi exceeds the windows MAX_PATH limit, then the build fails.Replacing the following relative path with a fully qualified path works around the issue.# FAILURE69 - File /r /x src "..\dist\${PRODUCT_NAME}-${PRODUCT_VERSION}-windows-installer\*.*"# SUCCESS69 - File /r /x src "C:\Users\frankgrimes\Documents\NetBeansProjects\ireport-nb-3.7.4\dist\${PRODUCT_NAME}-${PRODUCT_VERSION}-windows-installer\*.*"See the following for more details:http://forums.winamp.com/showthread.php?t=254961http://forums.winamp.com/showthread.php?t=261331http://stackoverflow.com/questions/2825798/should-i-deal-with-files-longer-than-max-path 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