Kevin Sadler

1

votes
4

answer
109

views

Jenkins and gradle - build projects with latest versions of dependencies for CI, specific versions for production

I am working with Jenkins, Gradle and our Ivy repository. Our build scripts specify the exact version of dependencies to be used for the build. This is good practice for production. For CI it would be interesting if the project build used the latest versions of our own libraries, that way we could n...
Kevin Sadler
1

votes
1

answer
472

views

How to add dependencies from Ivy to the Eclipse PDE Target Platform?

I can add in external OSGi bundles into my PDE project and I can get them to show up in the Target Platform (although I need to perform a reload once I have added a new one), I do this with a 'lib' directory in each project. As my project has become more sophisticated I require some Spring bundles,...
Kevin Sadler
1

votes
1

answer
424

views

In Pico CMS content markdown file how to define an array

In my simple Pico (0.9) based website I would like to add category pages that would list a set of objects, different for each category and defined in the markdown file for each category. In theory it should then be possible to list them in the twig template using the {% for object in set %} syntax....
Kevin Sadler
1

votes
2

answer
94

views

Why can some Java exceptions be left unhandled?

public static void main(String[] args) { File file = new File('foobar'); file.createNewFile(); String baz = 'baz'; int myInt = Integer.parseInt(baz); } In this code the IDE or compiler would complain that there is an unhandled exception thrown by createNewFile() and we would need to catch it t...
Kevin Sadler
2

votes
2

answer
647

views

PNG format images do not display on Mac Safari

Images from our website do not display in Safari for some Mac users and they report seeing either no image or a black image. Here is an example: http://s3-eu-west-2.amazonaws.com/bp18.boxcleverpress.com/Boxclever_logo_chartreuse.png What I have discovered is: Images display on PC Images display on S...
Kevin Sadler