Hi Sal,

 

Thanks for all the helpful tips. I am now able to compile, deploy and run the filesystem example.

 

Yes, I did miss quite a few steps in my last note: (a) copy paste of method implementations; (b) including source files under tutorial/src directory for compilation; and (c) use of .soap files under tutorial/requests directory for making requests.

 

It may be possible to restructure the tutorial example to make the “getting started” steps somewhat simpler, but for the time being, I will just document what needs to be done.

 

BTW, for the last step, to do HTTP POST of the contents of a file to an URL, I used something that I had written previously for another project. Is there anything in Apollo distribution that can be used?

 

Another question: is there any wrtieup on steps in submitting a patch to Apollo? Or should I just make the changes, do a “svn diff > apollo.patch” in the base directory and send “apollo.patch”?

 

 

Thanks,

Pankaj Kumar

 


From: Campana Jr., Salvatore J
Sent: Thursday, March 31, 2005 6:38 AM
To: [email protected]
Subject: RE: Ant targets "compile" and "deploy" missing from tutorial build script

 

The docs need to change....They are stale....  The compile and deploy targets will be in the generated build.xml for the service (under generated/service_name/build.xml)....

 

As for a getting started page, that is fine, you are assuming everyone knows what this stuff is all about....feel free to submit a doc...BUT you missed a step....The generated code is just skeleton code...You will notice a method_impl directory with txt files which are code snippets to be added to the generated code to make it actually do something.....

 

I believe we have a Jira issue for reworking the tutorial docs and scripts, but this is as it is today...If you are unsure of something feel free to ask, others will benefit also...

 

-Sal

 


From: Kumar, Pankaj
Sent: Wednesday, March 30, 2005 7:33 PM
To: [email protected]
Subject: Ant targets "compile" and "deploy" missing from tutorial build script

Hi,

 

I was going through the tutorial and try to generate, compile and deploy the FileSystem example. The tutorial says that I should be able to do all this with single command “ant generate compile deploy”. But I don’t see targets compile and deploy in build.xml.

 

Is the problem with documentation or build.xml?

 

Also, I think going through the tutorial is somewhat overwhelming to start with. Perhaps we can have a getting started page with following simple instructions:

After unzipping the Apollo distribution zip, perform the following steps to see you first WSRF example working:

 

  1. Make sure that you have Tomcat installed.
  2. Copy wsrf directory tree to TOMCAT_HOME/webapps
  3. change directory to APOLLO_HOME/tutorial. Edit build.properties to reflect your setup.
  4. Issue command: ant generate compile deploy
  5. Point your browser to the url: ….

6.       Read the tutorial to understand what happens behind the scene

 

Well, I should be able to write such a getting started document once I get it working.

 

/Pankaj.

Reply via email to