Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Errors during source build
Errors during source build [message #577038] Tue, 01 September 2009 04:56
Andrey is currently offline Andrey
Messages: 52
Registered: July 2009
Member
Hello!

From time to time, I get strange and annoying errors during simply build
my project source.
First error is (info from Error Log view):

Message:
--------
de.schlichtherle.io.ArchiveFileSystem$ArchiveReadOnlyExcepti on: Archive
file is read-only!

Exception Stack Trace:
----------------------
java.io.FileNotFoundException:
de.schlichtherle.io.ArchiveFileSystem$ArchiveReadOnlyExcepti on: Archive
file is read-only!
at
de.schlichtherle.io.ArchiveController.createOutputStream(Arc hiveController.java:579)
at
de.schlichtherle.io.FileOutputStream.createOutputStream(File OutputStream.java:164)
at de.schlichtherle.io.FileOutputStream.<init>(FileOutputStream.java:124)
at
org.eclipse.mtj.internal.core.build.packaging.PackageBuilder .createManifestFile(Unknown
Source)
at
org.eclipse.mtj.internal.core.build.packaging.PackageBuilder .updatePackage(Unknown
Source)
at
org.eclipse.mtj.internal.core.build.packaging.PackageBuilder .doBuild(Unknown
Source)
at
org.eclipse.mtj.internal.core.build.MTJIncrementalProjectBui lder.build(Unknown
Source)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:218)
at
org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:360)
at org.eclipse.core.internal.resources.Project$1.run(Project.ja va:522)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1782)
at
org.eclipse.core.internal.resources.Project.internalBuild(Pr oject.java:502)
at org.eclipse.core.internal.resources.Project.build(Project.ja va:94)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.r un(LaunchConfigurationDelegate.java:423)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1782)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate.bui ldProjects(LaunchConfigurationDelegate.java:430)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate.bui ldForLaunch(LaunchConfigurationDelegate.java:126)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:821)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: de.schlichtherle.io.ArchiveFileSystem$ArchiveReadOnlyExcepti on:
Archive file is read-only!
at
de.schlichtherle.io.ArchiveFileSystem$LinkDelta.<init>(ArchiveFileSystem.java:487)
at
de.schlichtherle.io.ArchiveFileSystem$LinkDelta.<init>(ArchiveFileSystem.java:478)
at de.schlichtherle.io.ArchiveFileSystem.link(ArchiveFileSystem .java:469)
at de.schlichtherle.io.ArchiveFileSystem.link(ArchiveFileSystem .java:403)
at
de.schlichtherle.io.ArchiveController.createOutputStream0(Ar chiveController.java:620)
at
de.schlichtherle.io.ArchiveController.createOutputStream(Arc hiveController.java:570)
... 30 more

Session Data:
-------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
-showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.java.product -showlocation -debug

And the second problem is:

Message:
--------
D:\Work\PocketMSS\PocketMSS\.mtj.tmp\emulation\PocketMSS.jar (couldn't
preserve last modification time)

Exception Stack Trace:
----------------------
de.schlichtherle.io.ArchiveWarningException:
D:\Work\PocketMSS\PocketMSS\.mtj.tmp\emulation\PocketMSS.jar (couldn't
preserve last modification time)
at
de.schlichtherle.io.UpdatingArchiveController.update(Updatin gArchiveController.java:907)
at
de.schlichtherle.io.UpdatingArchiveController.umount0(Updati ngArchiveController.java:697)
at
de.schlichtherle.io.UpdatingArchiveController.umount(Updatin gArchiveController.java:642)
at
de.schlichtherle.io.ArchiveControllers.umount(ArchiveControl lers.java:318)
at de.schlichtherle.io.File.umount(File.java:1099)
at
org.eclipse.mtj.internal.core.build.packaging.PackageBuilder .updatePackage(Unknown
Source)
at
org.eclipse.mtj.internal.core.build.packaging.PackageBuilder .doBuild(Unknown
Source)
at
org.eclipse.mtj.internal.core.build.MTJIncrementalProjectBui lder.build(Unknown
Source)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:218)
at
org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:360)
at org.eclipse.core.internal.resources.Project$1.run(Project.ja va:522)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1782)
at
org.eclipse.core.internal.resources.Project.internalBuild(Pr oject.java:502)
at org.eclipse.core.internal.resources.Project.build(Project.ja va:94)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.r un(LaunchConfigurationDelegate.java:423)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1782)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate.bui ldProjects(LaunchConfigurationDelegate.java:430)
at
org.eclipse.debug.core.model.LaunchConfigurationDelegate.bui ldForLaunch(LaunchConfigurationDelegate.java:126)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:821)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Session Data:
-------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
-showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.java.product -showlocation -debug

If I Clean all project and Rebuild it this helps for some time.
My question is how can I avoid this errors at all?
Previous Topic:Preprocess BlackBerry Code
Next Topic:Defines in files included by preprocessor are not honoured
Goto Forum:
  


Current Time: Fri Jul 25 19:15:18 EDT 2014

Powered by FUDForum. Page generated in 0.01529 seconds