Check out a new pas mozswing project. i updated the test and other  
files. maven should be happy now. it should build correctly.

you should clean and build regularly. sometimes classes files don't  
get replaced
-Tony



On Mar 2, 2008, at 9:05 PM, Nescio Nomen wrote:

> The PLR and author runtime seem to look fine.  They don't throw any  
> exceptions during mvn install and Eclipse hasn't marked them with  
> any kind of errors.
>
> I didn't open any of the projects until after I started running into  
> problems.  I have not tried the clean option in Eclipse-- should I?   
> Should I clean everything and then mvn install again?
>
> The full failure from mvn install:
>
> Failed tests:
> warning(junit.framework.TestSuite$1)
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
>
> Build Failure
>
> Please refer to [long path here] for the individual test results.
>
> I go to the file mentioned in the long path and it says:
>
> -------------------------------------------------------------------------------
> Test set:  
> org.telscenter.pas.ui.browser.mozswing.MozSwingrowserFactoryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
> 0.047 sec <<< FAILURE!
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<<  
> FAILURE!
> junit.framework.AssertionFailedError: No tests found in  
> org.telscenter.pas.ui.browser.mozswing.MozSwingrowserFactoryTest
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
>     at junit.framework.TestCase.runBare(TestCase.java:127)
>     at junit.framework.TestResult$1.protect(TestResult.java:106)
>     at junit.framework.TestResult.runProtected(TestResult.java:124)
>     at junit.framework.TestResult.run(TestResult.java:109)
>     at junit.framework.TestCase.run(TestCase.java:118)
>     at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     at junit.framework.TestSuite.run(TestSuite.java:203)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at  
> org 
> .apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java: 
> 213)
>     at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite 
> .executeTestSet(AbstractDirectoryTestSuite.java:140)
>     at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java: 
> 127)
>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at  
> org 
> .apache 
> .maven 
> .surefire 
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>     at  
> org 
> .apache 
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>
>
>
>
>
>
>
>
> On Sun, Mar 2, 2008 at 8:57 PM, Anthony Perritano <[EMAIL PROTECTED] 
> > wrote:
> have you been opening and closing the projects and doing a clean and  
> a build?
>
> what of PLR and the author runtime? are those built?
>
> can you post the full exception?
>
>
> -Tony
>
>
>
> On Mar 2, 2008, at 8:53 PM, Nescio Nomen wrote:
>
>> After I checkout pas-otrunk and do the build via mvn install, I  
>> still get the red mark on the Eclipse project indicating problems.   
>> I don't see any error messages during mvn install, though.  I  
>> continued on and something similar happened for common-apps.  I  
>> then got to browsing-mozswing and this time got a failure during  
>> mvn install.
>>
>> It says I failed  
>> org.telscenter.pas.ui.browser.mozswing.MozSwingrowserFactoryTest.
>>
>> The project doesn't have a red X in eclipse.
>>
>> As before I get warnings when I download from the repository.  I'm  
>> going to try this stuff on my laptop (working on my desktop right  
>> now) and see if I run into the same problems and if I do, bring it  
>> in to you next week to see what might be wrong.
>>
>> On Sun, Mar 2, 2008 at 1:00 PM, Anthony Perritano <[EMAIL PROTECTED] 
>> > wrote:
>> I am moving this discussion to the list so we can archive and  
>> others can comment. Ben, please address yr questions to the list.  
>> thanks.
>>
>> 1. The CSC project Set Proposal. yah, its a good idea to uncheck  
>> that. its unnecessary.
>>
>> Heres a way to proceed. Lets start yr workspace from scratch.
>>
>> 1. Delete all the projects you checked out.
>> 2. Check out Pas Learner Runtime.
>> 3. Maven deps should download. if you continue to get to the maven  
>> error you had below. Right click, close the project. Go to the  
>> command line. Go to yr workspace and the Pas Learner Runtime dir.  
>> in the same directory that has the pom.xml. run the command "mvn  
>> install". this should get you the maven dependencies.
>> 4. go back to eclipse, right click open project.
>> 5. go to the project menu, do a clean and a build. this should  
>> solve yr problems.
>>
>> 6. repeat steps for Pas Common Apps, Pas Author Runtime, etc....  
>> one  at time.
>>
>> let me know if you have any problems.
>> -Tony
>>
>>
>>
>> On Mar 1, 2008, at 10:38 PM, Hiroki Terashima wrote:
>>
>>> Tony/Geoff, can you answer Ben's questions?
>>>
>>> Ben, go to the confluence page 
>>> (http://www.telscenter.org/confluence/dashboard.action 
>>> ) and create an account. Then sign in with that account, and you  
>>> will be able to edit the page.  Edit the page as you see fit, in a  
>>> way that you think will help newcomers (like yourself) the best.
>>>
>>> Thanks,
>>> Hiroki
>>>
>>> On Sat, Mar 1, 2008 at 12:04 PM, Nescio Nomen  
>>> <[EMAIL PROTECTED]> wrote:
>>> Also, it seems that Mylyn has been added to Eclipse 3.3 by default:
>>>
>>> "Mylyn becomes part of the default Eclipse 3.3/Europa downloads  
>>> (June 29)"  See http://www.eclipse.org/mylyn/
>>>
>>> So maybe step 2 isn't necessary anymore?
>>>
>>> Also, while trying to follow Step 3, I run into a problem where it  
>>> says that I don't have everything I need to install all the SVN  
>>> features.
>>>
>>> The problematic feature is: Subversive Integration for the CSC  
>>> Project Set Proposal (Optional) 1.0.6
>>>
>>> It says I first need:
>>> http://vpms.de.csc.com/projectset/update
>>>
>>> I installed this and then did step 3.  Not sure that this is a big  
>>> deal, I'm guessing most people would just uncheck the optional  
>>> feature and it'd probably work fine.
>>>
>>> I found Steps 4 and 5 kind of hard to follow.  It doesn't say  
>>> where to unzip the downloaded file to (inside of the .m2 folder?)   
>>> and isn't very specific about how to set system variables.  (I've  
>>> never done this on Windows though so it's just my ignorance of  
>>> Windows showing perhaps).  Step 5 makes up for this with a  
>>> reference to a more detailed link at the end but the link contains  
>>> a link to http://maven.apache.org/download.html#Installation with  
>>> more and slightly different instructions, for example telling you  
>>> that you have to set JAVA_HOME, and choosing a different folder  
>>> name.  It wasn't clear to me if it was crucial that .m2 be chosen  
>>> but I went with that and also set the JAVA_HOME var after not  
>>> passing the sanity check in the link.  After setting JAVA_HOME as  
>>> a system var, I pass the sanity check.
>>>
>>> So then I go on to check out the Pas Suite.
>>>
>>> I add the repository and then it tells me the security certificate  
>>> isn't valid or something.  Oh well, I trust you guys.  Haha.
>>>
>>> I checkout the projects...  Apparently this takes a long time...
>>>
>>> I also get lots of warnings about things not being unretrievable, eg
>>> [WARN] Unable to get resource from repository l2fprod 
>>> (http://www.l2fprod.com/maven2 
>>> )
>>>
>>> On pas-common-apps I get this error:
>>>
>>> 3/1/08 5:01:51 AM PST: Missing:
>>> ----------
>>> 1) org.concord:loader:jar:0.1.0-SNAPSHOT
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.concord - 
>>> DartifactId=loader \
>>>           -Dversion=0.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/ 
>>> file
>>>
>>>   Path to dependency:
>>>       1) org.telscenter.pas-testing:otrunk:jar:0.1.0-SNAPSHOT
>>>       2) org.telscenter:pas-otrunk:jar:0.1.0-SNAPSHOT
>>>       3) org.concord:loader:jar:0.1.0-SNAPSHOT
>>>
>>> 2) org.concord:frameworkview:jar:0.1.0-SNAPSHOT
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.concord - 
>>> DartifactId=frameworkview \
>>>           -Dversion=0.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/ 
>>> file
>>>
>>>   Path to dependency:
>>>       1) org.telscenter.pas-testing:otrunk:jar:0.1.0-SNAPSHOT
>>>       2) org.telscenter:pas-otrunk:jar:0.1.0-SNAPSHOT
>>>       3) org.concord:frameworkview:jar:0.1.0-SNAPSHOT
>>>
>>> 3) org.telscenter:pas-learner-runtime:jar:0.4.3-SNAPSHOT
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.telscenter - 
>>> DartifactId=pas-learner-runtime \
>>>           -Dversion=0.4.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/ 
>>> file
>>>
>>>   Path to dependency:
>>>       1) org.telscenter.pas-testing:otrunk:jar:0.1.0-SNAPSHOT
>>>       2) org.telscenter:pas-author-runtime:jar:0.4.5-SNAPSHOT
>>>       3) org.telscenter:pas-learner-runtime:jar:0.4.3-SNAPSHOT
>>>
>>> 4) org.concord:otrunk:jar:0.1.0-SNAPSHOT
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.concord - 
>>> DartifactId=otrunk \
>>>           -Dversion=0.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/ 
>>> file
>>>
>>>   Path to dependency:
>>>       1) org.telscenter.pas-testing:otrunk:jar:0.1.0-SNAPSHOT
>>>       2) org.telscenter:pas-otrunk:jar:0.1.0-SNAPSHOT
>>>       3) org.concord:otrunk:jar:0.1.0-SNAPSHOT
>>>
>>> ----------
>>> 4 required artifacts are missing.
>>>
>>> for artifact:  org.telscenter.pas-testing:otrunk-0.1.0-SNAPSHOT.jar
>>>
>>>
>>>
>>> After this and some other similar mishaps, I stopped checking out  
>>> anymore projects because I'm not sure if I did something wrong,  
>>> since the projects are red, indicating build errors...  I'm fairly  
>>> certain that I installed SVN and Maven properly, and Eclipse says  
>>> it already has Mylyn/Mylar.  Should I just delete the checked out  
>>> projects and try checking them out again?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Feb 29, 2008 at 10:51 PM, Nescio Nomen <[EMAIL PROTECTED] 
>>> > wrote:
>>> Hi guys, to clarify, NescioNomen = Ben = me.  I should've chosen a  
>>> less flippant e-mail address name..
>>>
>>> More on this, it seems that according to this site: 
>>> http://www.eclipse.org/mylyn/moved.php
>>>
>>> Mylar is now known as Mylyn.
>>>
>>> Also, Mylyn appears in the Eclipse preexisting remote sites under  
>>> the Help->Install/Update and doesn't need to be added.
>>>
>>> The wiki should probably clarify that.
>>>
>>> Are we assuming that the person who is reading the wiki is already  
>>> relatively familiar with Eclipse?
>>>
>>> On Fri, Feb 29, 2008 at 10:19 PM, Hiroki Terashima <[EMAIL PROTECTED] 
>>> > wrote:
>>> Yes,
>>>
>>>     I'll add that to the wiki page.
>>>
>>> Thanks,
>>> Hiroki
>>>
>>> On Fri, Feb 29, 2008 at 7:14 PM, Nescio Nomen  
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>> These messages were sent while you were offline.
>>>
>>> 7:14 PM
>>> Nescio: well one problem i encounter is this:
>>>
>>> http://download.eclipse.org/technology/mylar/update-site/e3.2/
>>>
>>> "install Mylar using update site. Subclipse (below) needs Mylar to  
>>> start."
>>>
>>> update site redirects me to a nonexistent page
>>> 7 minutes
>>> 7:21 PM
>>> Nescio: did you mean for the person to enter the site into  
>>> eclipse's Help->Software Install/Update->New Features->Remote site?
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to