Jump to content

iReport 3.7.4 build failure


frankgrimes97

Recommended Posts

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 Grimes



Post Edited by frankgrimes97 at 07/21/2010 17:47



Post Edited by frankgrimes97 at 07/21/2010 17:47
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

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.

# FAILURE
69 - File /r /x src "..\dist\${PRODUCT_NAME}-${PRODUCT_VERSION}-windows-installer\*.*"

# SUCCESS
69 - 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=254961
http://forums.winamp.com/showthread.php?t=261331
http://stackoverflow.com/questions/2825798/should-i-deal-with-files-longer-than-max-path

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...