I believe you need to change this statement there:
<target name="jar" description="Create a jar for project">
<jar jarfile="${dist.jar}" includes="**/*" basedir="bin" />
</target>
> --
> You received this message because you are subscribed to the Google
> Groups "CodenameOne Discussions" group.
>
> For more information about Codename One please visit
> http://www.codenameone.com/
>
> To post to this group, send email to
> codenameone...@googlegroups.com
> To unsubscribe from this group, send email to
> codenameone-discu...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/codenameone-discussions?hl=en?hl=en
Since CN1 uses an Ant build script to compile and send project on
server, I think that exclusions in NB won't work. You probably need to
modify build.xml for this matter as well.I believe you need to change this statement there:
<target name="jar" description="Create a jar for project">
<jar jarfile="${dist.jar}" includes="**/*" basedir="bin" />
</target>
> I tried excluding some source files from the build using Excludes (project
> Properties - Sources - [Includes/Excludes...]). The excluded file appears
> correctly in the box with Excluded files, but when I compile the file is
> still included. This blocks me compiling - any solutions? (and sorry if the
> answer is obvious, I'm not familiar with the whole environment)
>
> --
> You received this message because you are subscribed to the Google
> Groups "CodenameOne Discussions" group.
>
> For more information about Codename One please visit
> http://www.codenameone.com/
>
> To post to this group, send email to
> To unsubscribe from this group, send email to
Or I may be wrong - the bin directory shouldn't already have the files you excluded. You may try to clean the project then - may be old class files remain there?
Since CN1 uses an Ant build script to compile and send project on
server, I think that exclusions in NB won't work. You probably need to
modify build.xml for this matter as well.I believe you need to change this statement there:
<target name="jar" description="Create a jar for project">
<jar jarfile="${dist.jar}" includes="**/*" basedir="bin" />
</target>
On Fri, Apr 6, 2012 at 11:59 PM, thomas <@gmail.com> wrote:
> I tried excluding some source files from the build using Excludes (project
> Properties - Sources - [Includes/Excludes...]). The excluded file appears
> correctly in the box with Excluded files, but when I compile the file is
> still included. This blocks me compiling - any solutions? (and sorry if the
> answer is obvious, I'm not familiar with the whole environment)
>
> --
> You received this message because you are subscribed to the Google
> Groups "CodenameOne Discussions" group.
>
> For more information about Codename One please visit
> http://www.codenameone.com/
>
> To post to this group, send email to
> To unsubscribe from this group, send email to
> --
> You received this message because you are subscribed to the Google
> Groups "CodenameOne Discussions" group.
>
> For more information about Codename One please visit
> http://www.codenameone.com/
>
> To post to this group, send email to
> codenameone...@googlegroups.com
> To unsubscribe from this group, send email to
> codenameone-discu...@googlegroups.com