Comments (7)
The fact that application crashes, means this file is used. I really don't get your point, why it doesn't makes sense? This file specifies which Grain version should be used to generate static website.
Do you want to specify Grain version in build.gradle, instead? Is this your point?
from grain.
I looked through the code. It only checks if then file exist and then does nothing.
It makes sense if one uses Grain as a static generator with pre-built theme. Since the number of such themes is very low, in my opinion the greatest advantage of Grain is its flexibility and ability to embed. In this case it makes much more sense to define grain version in gradle build or in SiteConfig
and not to add additional file and clutter up build configuration.
from grain.
@altavir application.properties
is used mainly for grainw
script, which speeds up Grain startup times compared to gradle
. If we remove application.properties
we will have to drop grainw
too, because we have no reliable way to get desired Grain version from build.gradle
.
from grain.
does grainw work faster than gradle daemon? If not, it is possible that you should drop it. I don't use it so Idon't know.
from grain.
I need to take a look at latest Gradle versions, that come with Gradle daemon, if they work reasonably fast, then grainw can be dropped.
from grain.
@altavir Alexander, don't you want to fix this issue yourself and submit Pull Request? I think Gradle with daemon will be almost as fast as grainw
, could you check and if it is so - then drop 'application.properties' validation and grainw
and update gradle wrapper to the latest version. Since you are raising issues for Grain pretty actively, I think it would be nice if you start contributing fixes, of course if you are interested and have time to do so.
from grain.
I am definitely interested because I think that Grain is a very promising way to handle static site generation in a very flexible way (flexibility is a key word). I am currently maintaining two sites made with Grain.
As for time, this is much more difficult, but I still will try to do something about it when I can.
from grain.
Related Issues (19)
- Unable to specify proxy for Downloading SetupTools HOT 2
- NPE when invoking generate HOT 12
- Huge dependency download time and obsolete dependencies HOT 9
- Portability problems HOT 17
- The option to split Yaml & content HOT 3
- Different `index.html` reference in preview and generate HOT 8
- Crash during preview HOT 1
- Cache Busting HOT 2
- `page.url` ignores directory in site url
- Injection declared but never used
- Freezes somewhere inside Ruby on generate
- Java 9 compatibility HOT 1
- Display a nice error for commands instead of a stack trace HOT 2
- Dependency problem HOT 2
- Customizing resource mapping to add new binary types HOT 2
- Help to integrate Jekill module to import wordpress sites HOT 2
- allow SiteConfig to specify attributes for Asciidoctor.convert HOT 3
- StackOverflow during generate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grain.