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 775739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:20:18+00:00 2026-05-14T19:20:18+00:00

Out project uses WebLogic as web-server and uses mostly JSP for user interface. With

  • 0

Out project uses WebLogic as web-server and uses mostly JSP for user interface. With standard setup it is possible to copy edited JSP files into the exploded deployment directory and WebLogic will automatically pick them up, recompile and serve new content through HTTP. However, is it possible to avoid copying at all, so that I just save a file in my editor and it is immediately (well, after a couple of seconds for recompilation) visible?

The project uses Apache Ant as building tool. I would imagine what I want would be possible with symlinks (since this is for deployment only I don’t care about cross-platformity), but then I don’t see how it is possible to symlink lots of files at once with Ant.

So, how do I achieve save-JSP-hit-F5-in-browser functionality either

  • with some setting in WebLogic; or
  • with symlinking JSPs using Apache Ant (instead of copying them as is done now); or
  • something else completely?
  • 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-05-14T19:20:19+00:00Added an answer on May 14, 2026 at 7:20 pm

    In the end, I had to use Ant’s exec tool, because its symlink is very inconvenient. Additionally, delete follows symbolic links by default, which I find a horrible design decision (luckily I didn’t delete anything not recoverable from VCS). If it is instructed to not follow links, then it doesn’t delete them either (there’s a flag for it in 1.8 but I have to use an older version). So, I had to replace clean target’s delete with exec that essentially just runs rm -r — it is easier than 20+ lines of Ant mumbo-jumbo.

    Also, if anyone is going to do something similar: don’t forget to use -t option to ln if creating symlinks to directories. Otherwise, a repetetive run will create another link inside the directory symlink points to.

    All in all it is working now, but I’m disappointed with Ant. I guess this all comes from Java’s absent symlink support, but still…

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

Sidebar

Related Questions

I've installed Snap/Haskell on my production Ubuntu server (on EC2), and checked-out my project
I've checked out a copy of a project hosted on google code. I'm going
I have a project that uses autotools. A nice feature of autotools is 'out-of-source'
I have checked-out a project from SourceForge named HadoopDB . It uses some class
I'm looking for some information about the roll-out of a python project that uses
I have a large web project that uses log4j directly, together with many 3rd-party
I checked out a project from TFS I had worked on a while ago,
Is there a jQuery project out there, that create on of these Password-strength-meters right
I have a project directory which has an .acignore file containing: out/* The project
im using netbeans with svn. i've checked out a project and then i used

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.