ubala / aribaweb

Automatically exported from code.google.com/p/aribaweb
Apache License 2.0
1 stars 2 forks source link

how to rebuild or redeploy in Eclipse by one click #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a new AribaWeb project in Eclipse
2. right click on build.xml, then Run As-> ant build
3. change some thing in awl file
4. right click on build.xml, then Run As-> ant build

What is the expected output? What do you see instead?
I am expecting to rebuild/redelopy a aribaweb project by one click or so 
in Eclipse like the demo (AribaWeb:Setting up IntelliJ IDEA for AW)
But Instead,when I do the second time, it errer out like below:
development)
     [echo] Connect via http://localhost:8080/aribaw/AribaWeb
     [java] ERROR: transport error 202: bind failed: Address already in use
I have to find out the pid which tooks the port and kill it each time.

What version of the product are you using? On what operating system?
Eclipse 3.4
Ant 1.7.1
aribaweb-5.0RC1

Please provide any additional information below.

Original issue reported on code.google.com by hotelweb...@gmail.com on 1 Mar 2009 at 2:13

GoogleCodeExporter commented 9 years ago
Apparently in Eclipse you need to tell it to Stop the previous Ant task before 
starting the new one.
(IDEA does this automatically).  Not sure what can be done...

Original comment by Ariba...@gmail.com on 1 Mar 2009 at 6:29

GoogleCodeExporter commented 9 years ago
We generally don't have to redeploy on changes to awl files. AW's rapid turn 
around
feature picks up any changes on browser refresh. It also pick up changes to
java/groovy files, compiles them and swaps it into the VM.

Original comment by manmohan...@gmail.com on 2 Mar 2009 at 4:02

GoogleCodeExporter commented 9 years ago
Thank you AribaWeb and Reddy for you input!
I can just save the changes for awl or java/groovy in eclipse and refresh 
browser. 
then the change is there. --Cool!
Although Eclipse has stop Server tab and stop ant in command console tab, but 
non of 
them can stop tomcat started by the default aribaweb build.xml cause aribaweb 
is 
using it's own tomcat instead of Eclipse default tomcat. Looks I need add some 
target in the build.xml to stop tomcat just in case.
-john

Original comment by hotelweb...@gmail.com on 4 Mar 2009 at 6:12

GoogleCodeExporter commented 9 years ago
It would be helpful either to add a stop-tomcat target or to add a build-launch 
app
(without starting Tomcat too). I'm, at least for now, in trouble trying to 
start two
AW apps at the same time (via ant build file).

Original comment by francisc...@gmail.com on 29 Sep 2009 at 4:54