-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I suggest using Maven instead of the scripts to run XBaya's executable
jar.  This would make sure the classpath was set correctly and in a
portable way.

Something like

<build>
 <plugins>
  <plugin>
    <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>
          <version>1.2</version>
         <configuration>                        
        <mainClass>
        org.apache.airavarta.xbaya.XBaya
        </mainClass>
        </configuration>
  </plugin>
</plugins>
</build>


Can you also do the same for running Jackrabbit and Airavata's axis?
This might make it easier to run all the tests from the SVN checkout.



Marlon


On 11/7/11 3:21 PM, Lahiru Gunathilake wrote:
> Hi Marlon,
> 
> Which Java version are you using ?
> 
> Lahiru
> 
> On Mon, Nov 7, 2011 at 2:45 PM, Lahiru Gunathilake
> <[email protected]>wrote:
> 
>> Hi Marlon,
>> 
>> I fixed one issue in trunk and branch, now you can run the script
>> from anywhere  .. still trying to reproduce this System 
>> Components disappearing issue.
>> 
>> Lahiru
>> 
>> 
>> On Mon, Nov 7, 2011 at 2:02 PM, Marlon Pierce
>> <[email protected]>wrote:
>> 
> I get the same problem with XBaya if I run everything from bin: 
> Systems Components doesn't show up.
> 
> 
> Marlon
> 
> 
> On 11/7/11 1:56 PM, Marlon Pierce wrote:
>>>>> I ran from AIRAVATA_HOME.  I'll try running from the bin 
>>>>> directory.
>>>>> 
>>>>> On 11/7/11 1:53 PM, Lahiru Gunathilake wrote:
>>>>>> Hi Marlon,
>>>>> 
>>>>>> On Mon, Nov 7, 2011 at 12:46 PM, Marlon Pierce 
>>>>>> <[email protected]>wrote:
>>>>> 
>>>>>> Some more comments on running through the tests:
>>>>> 
>>>>>> * XBaya classpath needs to be set but it isn't clear how
>>>>>> to do this from the instructions.
>>>>> 
>>>>>> * The setenv.sh script isn't working correctly.  It
>>>>>> assumes XBAYA_HOME (which is never set anywhere) and
>>>>>> includes some spurious separators. Also lib/tools.jar
>>>>>> gets set twice.  This needs to either be cleaned up or
>>>>>> removed.
>>>>> 
>>>>>> Yes tools.jar is adding twice to classpath, I can fix it,
>>>>>> but users
>>>>>>> doesn't have to run setenv.sh manually it get called
>>>>>>> in xbaya-gui.sh.
>>>>> 
>>>>>>> Did you run the xbaya-gui.sh in AIRAVATA_HOME/bin
>>>>>>> directory or did you try to run it while your directory
>>>>>>> is something else ?
>>>>> 
>>>>>>> Lahiru
>>>>> 
>>>>>> * User should be told just to run setenv.sh first
>>>>>> (source bin/setenv.sh, specifically) to set AIRAVATA_HOME
>>>>>> and XBAYA_CLASSPATH. The first is for convenience but the
>>>>>> second is required to run xbaya.
>>>>> 
>>>>>> * JAVA_HOME on Macs is a little obscure.  For me (OS X
>>>>>> 10.6.x), it is 
>>>>>> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
>>>>>
>>>>>>
>>>>>> 
* I tried setting my classpath manually (with
>>>>> 
>>>>>> export CLASSPATH=`echo ./lib/*.jar | tr ' ' ':'` export 
>>>>>> CLASSPATH=$JAVA_HOME/lib/tools.jar:$CLASSPATH export 
>>>>>> CLASSPATH=`echo ./standalone-server/lib/*.jar | tr ' ' 
>>>>>> ':'`:$CLASSPATH
>>>>> 
>>>>>> )
>>>>> 
>>>>>> * Starting xbaya with ./bin/xbaya-gui.sh works fine with
>>>>>> the above classath, but I don't get "System Components"
>>>>>> in the left hand window.
>>>>> 
>>>>>> * Also in the instructions you show "Amazon Components"
>>>>>> in the screen shot which I assume is not a standard part
>>>>>> of the release. I suggest you remove this to avoid
>>>>>> confusion.
>>>>> 
>>>>>> * I'm able to add the new JCR repository and the simple
>>>>>> math greet service with no problems but I can't complete
>>>>>> the walkthrough without the System Components tools.
>>>>> 
>>>>> 
>>>>> 
>>>>>> Marlon
>>>>> 
>>>>> 
>>>>>> On 11/7/11 11:43 AM, Lahiru Gunathilake wrote:
>>>>>>>>> Hi Marlon,
>>>>>>>>> 
>>>>>>>>> On Mon, Nov 7, 2011 at 11:31 AM, Marlon Pierce 
>>>>>>>>> <[email protected]>wrote:
>>>>>>>>> 
>>>>>>>>> I successfully built the svn tag and the source
>>>>>>>>> releases. The binary release is taking some time to
>>>>>>>>> download over wireless.  I have a couple of
>>>>>>>>> comments/questions while I am waiting.
>>>>>>>>> 
>>>>>>>>> * There are some typos in the README and INSTALL.
>>>>>>>>> Should I correct them in the SVN tagged version or
>>>>>>>>> just make the corrections in the trunk?
>>>>>>>>> 
>>>>>>>>> Please correct them in the trunk.. I think we need
>>>>>>>>> to have another tag
>>>>>>>>>> from latest trunk, committing to tag is not
>>>>>>>>>> correct.
>>>>>>>>> 
>>>>>>>>> * Are there instructions for running the tests
>>>>>>>>> ("airavata in 5 minutes") that don't depend up on
>>>>>>>>> the binary release? I assume this means downloading
>>>>>>>>> a few 3rd party packages like Jackrabbit.
>>>>>>>>> 
>>>>>>>>> If you have downloaded binary you should be able to
>>>>>>>>> run the 5 minutes and
>>>>>>>>>> 10 minutes articles successfully .. I just need
>>>>>>>>>> java installed in your Linux or Mac. We have
>>>>>>>>>> instructions to run samples in each sample.. we
>>>>>>>>>> have JUnit test cases and It covers in our build
>>>>>>>>>> instruction section.
>>>>>>>>> 
>>>>>>>>>> Regards Lahiru
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Marlon
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On 11/5/11 9:53 PM, Suresh Marru wrote:
>>>>>>>>>>>> Discussion thread for vote on airavata
>>>>>>>>>>>> 0.1-incubating release candidate.
>>>>>>>>>>>> 
>>>>>>>>>>>> Since we are waiting on the nexus setup for
>>>>>>>>>>>> the formal vote, I am sending the details
>>>>>>>>>>>> ahead. So please continue testing and discuss
>>>>>>>>>>>> results.
>>>>>>>>>>>> 
>>>>>>>>>>>> Detailed change log/release notes:
>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
> https://svn.apache.org/repos/asf/incubator/airavata/tags/0.1-incubating/RELEASE_NOTES
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>>>
>>>>>
>>>>>
> 
SVN source tag (r1198113):
>>>>>>>>>>>> 
>>>>>> 
> https://svn.apache.org/repos/asf/incubator/airavata/tags/0.1-incubating/
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>
>>>>>>
>>>>>
>>>>>
> 
Maven staging repo: TODO
>>>>>>>>>>>> 
>>>>>>>>>>>> Source release:
>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
> http://people.apache.org/builds/incubator/airavata/0.1-incubating/apache-airavata-0.1-incubating-source.tar.gz
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>>>
>>>>>
>>>>>
>
> 
http://people.apache.org/builds/incubator/airavata/0.1-incubating/apache-airavata-0.1-incubating-source.zip
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
>>>>> 
> Binary Artifacts
>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
> http://people.apache.org/builds/incubator/airavata/0.1-incubating/apache-airavata-0.1-incubating-bin.tar.gz
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>>>
>>>>>
>>>>>
>
> 
http://people.apache.org/builds/incubator/airavata/0.1-incubating/apache-airavata-0.1-incubating-bin.zip
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
>>>>> 
> PGP release keys (signed using 617DDBAD):
>>>>>>>>>>>> https://svn.apache.org/repos/asf/incubator/airavata/KEYS
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>
>>>>>>>>>>>>
>
>>>>>>>>>>>> 
If you have any questions or feedback or to post results of
>>>>>>>>>>>> validating the release, please reply to this
>>>>>>>>>>>> thread.
>>>>>>>>>>>> 
>>>>>>>>>>>> For reference, the Apache release guide  - 
>>>>>>>>>>>> http://www.apache.org/dev/release.html
>>>>>>>>>>>> Incubator specific release guidelines - 
>>>>>>>>>>>> http://incubator.apache.org/guides/releasemanagement.html
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>
>>>>>>>>>>>>
>
>>>>>>>>>>>> 
Some tips to validate the release before you vote:
>>>>>>>>>>>> 
>>>>>>>>>>>> * Download the binary version and run the 5
>>>>>>>>>>>> minute or 10 minute tutorial as described in
>>>>>>>>>>>> README and website. * Download the source
>>>>>>>>>>>> files from compressed files and release tag
>>>>>>>>>>>> and build (which includes tests). * Verify
>>>>>>>>>>>> the distributon for the required LICENSE,
>>>>>>>>>>>> NOTICE and DISCLAIMER files * Verify if all 
>>>>>>>>>>>> the staged files are signed and the signature
>>>>>>>>>>>> is verifiable. * Verify if the signing key in
>>>>>>>>>>>> the project's KEYS file is hosted on a public
>>>>>>>>>>>> server
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks for your time in validating the
>>>>>>>>>>>> release and voting, Suresh
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>> 
>> 
>> 
>> 
>> -- System Analyst Programmer PTI Lab Indiana University
>> 
>> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOuTcPAAoJEOEgD2XReDo5eTgH/jm7l1urd5SGHhHPtmMU5c0h
0PCypyUElgbsQf8nNkKm+7Js6YnR+1DF9FzMfXYCx391CEpFd7+hyf8wpsJhf7k5
Ru4WLOYc7jsGrl09TlwBBHiaSN+/cV+uCGMOPN+IIoNq4e/zLw+2PQqS9VTK3c4g
c9R353BpJnCqW6pYTEBZuayuEVvoarQbgwOV5hRsvwMIVlI2ZyZNTvQxLYzzZGDS
BkEa9KKJt1WCpatlWCWAMOiowAP24LR1uSxsBE//o4MBe1rc8TJlFpbpj6ZgMqDl
VD5cGIt7exaXXvVCVTbHOvSu1IK5evQOmWD7FI61LmMOeVQIfL3mQdDsWYRHaW4=
=tUya
-----END PGP SIGNATURE-----

Reply via email to