taskjuggler / TaskJuggler

TaskJuggler - Project Management beyond Gantt chart drawing
http://www.taskjuggler.org
GNU General Public License v2.0
737 stars 171 forks source link

Release/Build of bug fixed taskjuggler (bundler, ...) #32

Open maxmeyer opened 12 years ago

maxmeyer commented 12 years ago

Hi there,

might it be possible, that you enable users to build taskjuggler from source via bundler etc.? Right now it fails because of missing files/directories (manual/tjp.vim) you generate via rake-tasks.

I use a Gemfiles to include every gem needed for a project including taskjuggler for project management. You fix bugs very very quickly which I really appreciate, but it takes a long time between new versions, which is ok as well. But it is a little bit annoying to have all gems needed for a project in a Gemfile, but only taskjuggler have separately to get the bug fixed version.

I see the following possible solutions: 1) Integrate the generation of files/directories (manual, taskjuggler.vim) into your gemspec 2) Integration stubs for the missing files/directories in git-repo

Another way to get around that problem would be to release a new version more often - may considering http://semver.org/.

Cheers and have a nice day maxmeyer

scrapper commented 12 years ago

I'd love to support bundler, but I haven't found a way to do this. The concept of .gemspec is too limited to support software projects with multiple build steps that must also be available individually.

If you figure out a way to do this with .gemspec files, I'm open to patches.

BTW, we have daily gem builds. But I need to fix the naming.

maxmeyer commented 12 years ago

What about that kind of stuff: http://docs.rubygems.org/read/chapter/20#extensions

spec.extensions << 'ext/rmagic/extconf.rb' 

Unfortunately I'm busy now (master thesis), but maybe I find the time to investigate the possibilities with

spec.extensions

in the near future.

Cheers, maxmeyer

maxmeyer commented 12 years ago

Maybe this is helpful as well to get some ideas what to do with spec.extesions

https://github.com/luislavena/rake-compiler

scrapper commented 12 years ago

I don't think this will help. The documentation says that those file will be run when the gem gets installed. TJ needs stuff to be run before the gem is packaged. The generated files must be included in the gem file list.