"First, solve the problem. Then, write the code." (John Johnson)
I use quiet a lot XSL transformations at work. Since they tend to grow rather big with every new rule I implement, I split the file up. Every file has it’s own domain/rule. This works fine. I also write a new junit test for every new xslt rule/template, to ensure that I did not break anything.
At somepoint in every new project I get the error, that a transformation in production (src/main) does work, but in test (src/test) does not. After a few minutes of searching I come to the conclusion, that a import/include stylesheet can not be found. A few minutes later and the penny dropes… I always forget to implement the URIResolver. Every time…
And they setting it:
Had a little problem with letsencrypt, when I tried to renew the certificates, the following error showed:
So I looked in /var/log/letsencrypt/letsencrypt.log :
So…. I had no clue, but a quick search on stackoverflow showed that I missed a package
And all ended well. I renewed the certificates:
Simplify and reduce the size of the Xsd by deleting the unused declarations from it : http://www.abhortsoft.hu/xsdreducer/xsd_reducer.html
Just does what it says. Good little tool.
http://www.javais.cool :” There are many resources on news sites and blogs that carry valuable insights for your projects. Some are already well known, some a bit less and together they will keep you on the right track. Here are our favorites:”
In Git, you can’t commit empty folders, because Git does not actually save folders, only files. You’ll have to create some placeholder file inside those directories, if you actually want them to be “empty”.
You could create a empty .gitignore file inside each empty folder. I find this confusing, since the goal is to keep the empty directories, not ignore them or some files inside of them.
With the following script you can create a file named “.gitkeep” inside every empty folder. The filename has no meaning for git, but it makes it purpose clear.
- google drive
- version control
subscribe via RSS