samvera-deprecated / hydra

Project Hydra Stack Dependencies
Other
83 stars 30 forks source link

Rake jetty tasks missing/broken? #56

Closed billdueber closed 9 years ago

billdueber commented 9 years ago

So, running rails g hydra jetty seems to go off without a hitch. But then...

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake jetty:start
rake aborted!
Don't know how to build task 'jetty:start'

Hmmm. What's available?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake -T
rake about                                     # List versions of all Rails frameworks and the envi...
rake assets:clean[keep]                        # Remove old compiled assets
rake assets:clobber                            # Remove compiled assets
rake assets:environment                        # Load asset compile environment
rake assets:precompile                         # Compile all the assets named in config.assets.prec...
rake blacklight:check:solr[controller_name]    # Check the Solr connection and controller configura...
rake blacklight:delete_old_searches[days_old]  # Removes entries in the searches table that are old...
rake blacklight:install:migrations             # Copy migrations from blacklight to application
rake blacklight:solr:seed                      # Put sample data into solr
rake cache_digests:dependencies                # Lookup first-level dependencies for TEMPLATE (like...
rake cache_digests:nested_dependencies         # Lookup nested dependencies for TEMPLATE (like mess...
rake db:create                                 # Creates the database from DATABASE_URL or config/d...
rake db:drop                                   # Drops the database from DATABASE_URL or config/dat...
rake db:fixtures:load                          # Load fixtures into the current environment's database
rake db:migrate                                # Migrate the database (options: VERSION=x, VERBOSE=...
rake db:migrate:status                         # Display status of migrations
rake db:rollback                               # Rolls the schema back to the previous version (spe...
rake db:schema:cache:clear                     # Clear a db/schema_cache.dump file
rake db:schema:cache:dump                      # Create a db/schema_cache.dump file
rake db:schema:dump                            # Create a db/schema.rb file that is portable agains...
rake db:schema:load                            # Load a schema.rb file into the database
rake db:seed                                   # Load the seed data from db/seeds.rb
rake db:setup                                  # Create the database, load the schema, and initiali...
rake db:structure:dump                         # Dump the database structure to db/structure.sql
rake db:version                                # Retrieves the current schema version number
rake doc:app                                   # Generate docs for the app -- also available doc:ra...
rake hydra:fixtures:delete                     # Remove default Hydra fixtures
rake hydra:fixtures:refresh                    # Refresh default Hydra fixtures
rake hydra:init                                # Init Hydra configuration
rake hydra:jetty:config                        # Copies the default Solr & Fedora configs into the ...
rake hydra:jetty:config_fedora                 # Copies a custom fedora config for the bundled Hydr...
rake hydra:jetty:config_solr                   # Copies the contents of solr_conf into the Solr dev...
rake hydra:jetty:load                          # Copies the default SOLR config files and starts up...
rake hydra:load_models                         # Load hydra-head models
rake jetty:config                              # Apply all configs to Testing Server (relies on hyd...
rake log:clear                                 # Truncates all *.log files in log/ to zero bytes (s...
rake middleware                                # Prints out your Rack middleware stack
rake notes                                     # Enumerate all annotations (use notes:optimize, :fi...
rake notes:custom                              # Enumerate a custom annotation, specify with ANNOTA...
rake rails:template                            # Applies the template supplied by LOCATION=(/path/t...
rake rails:update                              # Update configs and some other initially generated ...
rake repo:delete                               # Delete the object identified by pid
rake repo:delete_range                         # Delete a range of objects in a given namespace
rake repo:export                               # Export the object identified by pid into spec/fixt...
rake repo:load                                 # Load the object located at the provided path or id...
rake repo:refresh                              # Delete and re-import the object identified by pid
rake routes                                    # Print out all defined routes in match order, with ...
rake secret                                    # Generate a cryptographically secure secret key (th...
rake stats                                     # Report code statistics (KLOCs, etc) from the appli...
rake test                                      # Runs test:units, test:functionals, test:generators...
rake test:all                                  # Run tests quickly by merging all types and not res...
rake test:all:db                               # Run tests quickly, but also reset db
rake time:zones:all                            # Displays all time zones, also available: time:zone...
rake tmp:clear                                 # Clear session, cache, and socket files from tmp/ (...
rake tmp:create                                # Creates tmp directories for sessions, cache, socke...

Maybe try load?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake hydra:jetty:load
rake aborted!
Don't know how to build task 'jetty:start'

Tasks: TOP => hydra:jetty:load

Or config?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake hydra:jetty:config
/home/ubuntu/hydra/dive_into_hydra/fedora_conf/conf/development/fedora.fcfg file not found -- skipping fedora config
/home/ubuntu/hydra/dive_into_hydra/fedora_conf/conf/test/fedora.fcfg file not found -- skipping fedora config
jcoyne commented 9 years ago

Make sure you have:

gem 'jettywrapper'

In your Gemfile

-Justin

On Jul 12, 2014, at 7:20 AM, Bill Dueber notifications@github.com wrote:

So, running rails g hydra jetty seems to go off without a hitch. But then...

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake jetty:start rake aborted! Don't know how to build task 'jetty:start' Hmmm. What's available?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake -T rake about # List versions of all Rails frameworks and the envi... rake assets:clean[keep] # Remove old compiled assets rake assets:clobber # Remove compiled assets rake assets:environment # Load asset compile environment rake assets:precompile # Compile all the assets named in config.assets.prec... rake blacklight:check:solr[controller_name] # Check the Solr connection and controller configura... rake blacklight:delete_old_searches[days_old] # Removes entries in the searches table that are old... rake blacklight:install:migrations # Copy migrations from blacklight to application rake blacklight:solr:seed # Put sample data into solr rake cache_digests:dependencies # Lookup first-level dependencies for TEMPLATE (like... rake cache_digests:nested_dependencies # Lookup nested dependencies for TEMPLATE (like mess... rake db:create # Creates the database from DATABASE_URL or config/d... rake db:drop # Drops the database from DATABASE_URL or config/dat... rake db:fixtures:load # Load fixtures into the current environment's database rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=... rake db:migrate:status # Display status of migrations rake db:rollback # Rolls the schema back to the previous version (spe... rake db:schema:cache:clear # Clear a db/schema_cache.dump file rake db:schema:cache:dump # Create a db/schema_cache.dump file rake db:schema:dump # Create a db/schema.rb file that is portable agains... rake db:schema:load # Load a schema.rb file into the database rake db:seed # Load the seed data from db/seeds.rb rake db:setup # Create the database, load the schema, and initiali... rake db:structure:dump # Dump the database structure to db/structure.sql rake db:version # Retrieves the current schema version number rake doc:app # Generate docs for the app -- also available doc:ra... rake hydra:fixtures:delete # Remove default Hydra fixtures rake hydra:fixtures:refresh # Refresh default Hydra fixtures rake hydra:init # Init Hydra configuration rake hydra:jetty:config # Copies the default Solr & Fedora configs into the ... rake hydra:jetty:config_fedora # Copies a custom fedora config for the bundled Hydr... rake hydra:jetty:config_solr # Copies the contents of solr_conf into the Solr dev... rake hydra:jetty:load # Copies the default SOLR config files and starts up... rake hydra:load_models # Load hydra-head models rake jetty:config # Apply all configs to Testing Server (relies on hyd... rake log:clear # Truncates all *.log files in log/ to zero bytes (s... rake middleware # Prints out your Rack middleware stack rake notes # Enumerate all annotations (use notes:optimize, :fi... rake notes:custom # Enumerate a custom annotation, specify with ANNOTA... rake rails:template # Applies the template supplied by LOCATION=(/path/t... rake rails:update # Update configs and some other initially generated ... rake repo:delete # Delete the object identified by pid rake repo:delete_range # Delete a range of objects in a given namespace rake repo:export # Export the object identified by pid into spec/fixt... rake repo:load # Load the object located at the provided path or id... rake repo:refresh # Delete and re-import the object identified by pid rake routes # Print out all defined routes in match order, with ... rake secret # Generate a cryptographically secure secret key (th... rake stats # Report code statistics (KLOCs, etc) from the appli... rake test # Runs test:units, test:functionals, test:generators... rake test:all # Run tests quickly by merging all types and not res... rake test:all:db # Run tests quickly, but also reset db rake time:zones:all # Displays all time zones, also available: time:zone... rake tmp:clear # Clear session, cache, and socket files from tmp/ (... rake tmp:create # Creates tmp directories for sessions, cache, socke... Maybe try load?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake hydra:jetty:load rake aborted! Don't know how to build task 'jetty:start'

Tasks: TOP => hydra:jetty:load Or config?

ubuntu@ubuntu-i386:~/hydra/dive_into_hydra$ rake hydra:jetty:config /home/ubuntu/hydra/dive_into_hydra/fedora_conf/conf/development/fedora.fcfg file not found -- skipping fedora config /home/ubuntu/hydra/dive_into_hydra/fedora_conf/conf/test/fedora.fcfg file not found -- skipping fedora config — Reply to this email directly or view it on GitHub.