is there any way to get java to compile a simple .java file into a .class file while ignoring errors? I know it seems silly, but basically here is my situation:
i'm working with a sample project to figure out how a portlet works.
i just want to add one simple task, so i'm making copies of java source file, making just a few name changes (of jsp pages) and i want to compile that.
the problem is, i don't have the full source code or project info for the sample i'm working with. just a bunch of .java files and their file structure.
when i compile, the compiler complains about packages, bla bla bla. well, iknow there aren't any properly linked packages within the project it thinks it is compiling, but, once the .class file is in the right place, it should all work fine...
so, am i trying to do something that is just impossible, and i need to find someway to import a full source code of this sample project...
or can i tell javac to ignore and just turn the thing into a .class
thanks
i'm working with a sample project to figure out how a portlet works.
i just want to add one simple task, so i'm making copies of java source file, making just a few name changes (of jsp pages) and i want to compile that.
the problem is, i don't have the full source code or project info for the sample i'm working with. just a bunch of .java files and their file structure.
when i compile, the compiler complains about packages, bla bla bla. well, iknow there aren't any properly linked packages within the project it thinks it is compiling, but, once the .class file is in the right place, it should all work fine...
so, am i trying to do something that is just impossible, and i need to find someway to import a full source code of this sample project...
or can i tell javac to ignore and just turn the thing into a .class
thanks
