[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no main manifest attribute,



Hello,
Now my last issue is that the jar builded by the deb package crashes when reaching this line:
        setIconImage(Toolkit.getDefaultToolkit().getImage(JobPlay.class.getResource("/pixmaps/spview.png")));
So I understand he does not recognise my resources directory as a source one.
My source tree is like that:
test
sources
resources

I tried to write my d/rules file like that:
    jh_build --javacopts="-source 1.8 -target 1.8" --javadoc-opts="-source 1.8" spview.jar sources resources
with no succes.

Indeed, with eclipse I have the .classpath file which is:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="sources"/>
    <classpathentry kind="src" path="resources"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
</classpath>



Reply to: