Fix download link probing (#33, #34) #38

Merged
merged 1 commit into from Jun 15, 2012

Conversation

Projects
None yet
4 participants
@ladios
Contributor

ladios commented Jun 13, 2012

Update number is no longer part of the URL of the current release page.
This patch makes the script downloads the current release page first,
and then tries to find a matching version. If not found, then looks for
it in the archive page.

Fix download link probing (#33, #34)
Update number is no longer part of the URL of the current release page.
This patch makes the script downloads the current release page first,
and then tries to find a matching version. If not found, then looks for
it in the archive page.
@tomcjohn

This comment has been minimized.

Show comment
Hide comment
@tomcjohn

tomcjohn Jun 14, 2012

Thanks for posting this patch, my own hacking was getting me no closer to a solution for this. :)

This patch worked for me.

Thanks for posting this patch, my own hacking was getting me no closer to a solution for this. :)

This patch worked for me.

@tomcjohn

This comment has been minimized.

Show comment
Hide comment
@tomcjohn

tomcjohn Jun 14, 2012

Just to clarify, this got me past my first problem but then failed on a later step.

Last few lines of oab-java.sh.log are:

: # fix permissions
find x64-jdk -name '.properties' -o -name '.xml' | xargs chmod 644
touch unpack-x64-stamp
rm -rf jce
unzip -q jce_policy-6.zip
unzip: cannot find or open jce_policy-6.zip, jce_policy-6.zip.zip or jce_policy-6.zip.ZIP.
make: *** [unpack-jce-stamp] Error 9
dpkg-buildpackage: error: debian/rules build gave error exit status 2
17054's retcode: 2
success

I've manually downloaded jce_policy-6.zip (as per instructions in rraptorr README) and placed it both in /var/local/oab/pkg and in the working directory but neither seem to do the trick. I have absolutely no debian nouse so I may have to give up at this point. :)

Just to clarify, this got me past my first problem but then failed on a later step.

Last few lines of oab-java.sh.log are:

: # fix permissions
find x64-jdk -name '.properties' -o -name '.xml' | xargs chmod 644
touch unpack-x64-stamp
rm -rf jce
unzip -q jce_policy-6.zip
unzip: cannot find or open jce_policy-6.zip, jce_policy-6.zip.zip or jce_policy-6.zip.ZIP.
make: *** [unpack-jce-stamp] Error 9
dpkg-buildpackage: error: debian/rules build gave error exit status 2
17054's retcode: 2
success

I've manually downloaded jce_policy-6.zip (as per instructions in rraptorr README) and placed it both in /var/local/oab/pkg and in the working directory but neither seem to do the trick. I have absolutely no debian nouse so I may have to give up at this point. :)

@ladios

This comment has been minimized.

Show comment
Hide comment
@ladios

ladios Jun 14, 2012

Contributor

That's #31 which is addressed in my other pull request. You can try my
master branch.

Contributor

ladios commented Jun 14, 2012

That's #31 which is addressed in my other pull request. You can try my
master branch.

flexiondotorg added a commit that referenced this pull request Jun 15, 2012

Merge pull request #38 from ladios/fix_33-34
Fix download link probing (#33, #34)

@flexiondotorg flexiondotorg merged commit 0ea2c92 into flexiondotorg:master Jun 15, 2012

@robbkidd

This comment has been minimized.

Show comment
Hide comment
@robbkidd

robbkidd Sep 6, 2012

I had to revert back to this URL form (${JAVA_VER}u${JAVA_UPD}) to get things working yesterday.

I had to revert back to this URL form (${JAVA_VER}u${JAVA_UPD}) to get things working yesterday.

@ladios ladios deleted the ladios:fix_33-34 branch Jan 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment