Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:42:02+00:00 2026-06-10T20:42:02+00:00

I have a java project hosted on a GitHub. And I want to allow

  • 0

I have a java project hosted on a GitHub. And I want to allow see JavaDoc HTML-page for this hosting. For this purpose I create gh-pahes branch.

How I can easy move/commit JavaDoc (that created into master branch) into gh-pages branch using EGit and Eclipse IDE? I regenerate JavaDoc often and want find way to easy commit new version JavaDoc to gh-pages but working into master branch.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:42:04+00:00Added an answer on June 10, 2026 at 8:42 pm

    I found not so good solution as I want, but it is works:

    1. Create gh-pages branch in a GitHub.
    2. Checkout this branch.
    3. Switch from gh-pages to master and generate javadoc.
    4. Commit javadocs.
    5. Switch from master to gh-pages branch.
    6. You can see that gh-pages branch includes javadoc folder.
    7. Just commit this folder into gh-pages.
    8. See how to update!

    How to update:

    1. In master branch remove all javadoc directory and regenerate javadoc.
    2. Commit only the generated javadoc!.
    3. Switch from master to gh-pages branch.
    4. Remove old javadoc and commit this changes!
    5. Right-click on you project and select Team -> Show in History.
    6. Found you commit with javadoc from master branch.
    7. Right-click on this commit and select Cherry Pick.

    Thats is all! Now you commit from master branch copy to gh-pages branch!

    I don’t know WHY I need using special branch for access to my HTML docs in the GitHub?! Use Google Code is MORE useful!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java project and I want to include a text file with
I have a java project that runs on a webserver. I always hit this
I have my app engine project myproject.appspot.com hosted at myprojectsdomain.com. I want to permanently
I have java project with building rpm by maven. Required create noarch packets, but
I have a java project and placed sql file(backup) in this project. how to
I have Java project with source code, and I want to get UML diagram
I have a java project in eclipse which are using tomcat. This project has
I have a Java project running on Glassfish that renders some ugly looking HTML.
I have a java project and I want a list of locations in source
i have a java project, works as a server. when an instance of this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.