The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Oracle e-Test

Pages: 1
akabishop
Newbie


Reged: 01/31/12
Posts: 2
[OATS] exporting to jar - Could not find MainClass
      #697107 - 01/31/12 02:05 AM

Hi,
Anyone can help me with exporting an openscript project to jar?

Im getting various errors, after many tries I have ended up with:
"The process cannot access the file because another process has locked a portion of the file The process cannot access the file because another process has locked a portion of the file"

IMO it cannot export file that is opened in OpenScript, but then i cannot Export it while not having it opened.

(Im a newbie to QA and app.testing suite)

Ok, I got over that error. Simply while exporting i exclude .lck file (as it seems to be used to show that this file is being edited and LoCKed.)

but I have another error - that selected class (as the Main class) is not found - error during launch of the jar file.
"could not find main class: script(...)"

I have in Manifest.MF information about main class:
Main-Class: script

any solutions ?



Edited by akabishop (01/31/12 04:21 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: [OATS] exporting to jar [Re: akabishop]
      #697120 - 01/31/12 03:56 AM

Have you tried rebooting your machine first?
If that doesn't help, you should probably contact Oracle Support.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
akabishop
Newbie


Reged: 01/31/12
Posts: 2
Re: [OATS] exporting to jar [Re: Joe Strazzere]
      #697124 - 01/31/12 04:22 AM

thanx joe for your reply. Rebooting will not help (as I have tried it on two machines)

anyway - my question was slighty modified.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  Joe Strazzere, martinh, AJ 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 2112

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5