Re: Xcode claims it can't find source files which exist
Re: Xcode claims it can't find source files which exist
- Subject: Re: Xcode claims it can't find source files which exist
- From: Nicholas Rinard <email@hidden>
- Date: Fri, 11 Nov 2005 19:51:56 -0500
On Nov 11, 2005, at 7:36 PM, Cameron Hayne wrote:
If the same command-line produces an error in XCode then I guess so.
But are you sure that this command-line is the one producing the
error?
I.e. maybe there is a subsequent command-line which is the real
problem.
Does that command-line actually result in the .class files getting
produced?
In any case, if you do find that it works on the command-line but
not within XCode, that is something you should report to the XCode
list (and probably also files a bug with Apple).
And you should explain exactly when you are seeing the errors and
report (to the list) the exact (verbatim) error messages that you
are seeing.
wow, okay, i just found the problem, or the source of it. i think.
right you are, i was using the wrong CL argument. i went back and got
the text being sent to the CL on builds when it fails, and the reason
for the classes not being found is clear -- they aren't being added
to the CL argument! What I mean is, the last two classes in Compile
Sources simply aren't in the argument sent to the command line. I'll
append that text below. You'll see that two classes, EnhancedSlider
and LocalizationManager, are not in the list of classes to compile
sent to javac, but I promise they are in the project and in the
Compile Sources list. So to me, correct me if I'm wrong, that
indicates a bug in Xcode in which Xcode does not add all the Compile
Sources sources to the javac argument.
What would cause that? Why would adding two libraries to the
'classpath' variable cause Xcode to ignore two source files for the
javac argument? (There isn't a limit on the number of source+library
files is there? That would be crazy.)
/Developer/Private/jam -d1 -j1 JAMBASE=/Developer/Makefiles/
pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build
_DEFAULT_GCC_VERSION=4.0 BUILD_STYLE=Deployment CPP_HEADERMAP_FILE=/
Users/nrrinard/Documents/Work/Lexinomicon/Current/build/
Lexinomicon.build/Lexinomicon.build/Lexinomicon.hmap SRCROOT=/Users/
nrrinard/Documents/Work/Lexinomicon/Current OBJROOT=/Users/nrrinard/
Documents/Work/Lexinomicon/Current/build SYMROOT=/Users/nrrinard/
Documents/Work/Lexinomicon/Current/build DSTROOT=/tmp/Lexinomicon.dst
Mkdir /Users/nrrinard/Documents/Work/Lexinomicon/Current/build/
Lexinomicon.app
/bin/mkdir -p /Users/nrrinard/Documents/Work/Lexinomicon/
Current/build/Lexinomicon.app
Mkdir /Users/nrrinard/Documents/Work/Lexinomicon/Current/build/
Lexinomicon.build/Lexinomicon.build/JavaClasses
/bin/mkdir -p /Users/nrrinard/Documents/Work/Lexinomicon/
Current/build/Lexinomicon.build/Lexinomicon.build/JavaClasses
JavaCompile.default <CompileJava>Lexinomicon.app
frameworkjars=""
for i in `echo ` ; do if [ -f "$i" ] ; then
frameworkjars="$frameworkjars":"$i" ; fi ; done
classpath="/Users/nrrinard/Documents/Work/Lexinomicon/Current/
build/Lexinomicon.build/Lexinomicon.build/JavaClasses:/System/Library/
Java/Extensions/hsqldb.jar:/System/Library/Java/Extensions/
QTJava.zip:/System/Library/Java/Extensions/QTJSupport.jar:/System/
Library/Java/Extensions/quaqua.jar:/System/Library/Java/Extensions/
xercesImpl.jar:/System/Library/Java/Extensions/xml-apis.jar
$frameworkjars:"`/usr/bin/javaconfig DefaultClasspath`
/usr/bin/javac -J-Xms64m -J-XX:NewSize=4M -J-
Dfile.encoding=UTF8 -deprecation -encoding MACINTOSH -sourcepath /
Users/nrrinard/Documents/Work/Lexinomicon/Current/. -classpath
"$classpath" -d "/Users/nrrinard/Documents/Work/Lexinomicon/Current/
build/Lexinomicon.build/Lexinomicon.build/JavaClasses" 'source/edu/
dartmouth/lex/data/AbstractDataManager.java' 'source/edu/dartmouth/
lex/data/Asset.java' 'source/edu/dartmouth/lex/data/
AssetReference.java' 'source/edu/dartmouth/lex/data/
AssetsManager.java' 'source/edu/dartmouth/lex/data/Workbook.java'
'source/edu/dartmouth/lex/data/Collection.java' 'source/edu/dartmouth/
lex/data/DataListener.java' 'source/edu/dartmouth/lex/data/
DataSource.java' 'source/edu/dartmouth/lex/data/GlobalizedAsset.java'
'source/edu/dartmouth/lex/data/Item.java' 'source/edu/dartmouth/lex/
data/LexModel.java' 'source/edu/dartmouth/lex/data/
LexModelFunctionality.java' 'source/edu/dartmouth/lex/data/
PluginsManager.java' 'source/edu/dartmouth/lex/data/Profile.java'
'source/edu/dartmouth/lex/data/ProfilesManager.java' 'source/edu/
dartmouth/lex/gui/AbstractWorkbooksView.java' 'source/edu/dartmouth/
lex/gui/AbstractView.java' 'source/edu/dartmouth/lex/gui/
WorkbooksMenuView.java' 'source/edu/dartmouth/lex/gui/CardPanel.java'
'source/edu/dartmouth/lex/gui/EnhancedNode.java' 'source/edu/
dartmouth/lex/gui/EnhancedNodeExportedEvent.java' 'source/edu/
dartmouth/lex/gui/EnhancedNodeImportedEvent.java' 'source/edu/
dartmouth/lex/gui/EnhancedTree.java' 'source/edu/dartmouth/lex/gui/
EnhancedTreeListeners.java' 'source/edu/dartmouth/lex/gui/
InstructionsView.java' 'source/edu/dartmouth/lex/gui/
LabelButton.java' 'source/edu/dartmouth/lex/gui/LexSplashScreen.java'
'source/edu/dartmouth/lex/gui/LexTreeListener.java' 'source/edu/
dartmouth/lex/gui/LexView.java' 'source/edu/dartmouth/lex/gui/
LexViewFunctionality.java' 'source/edu/dartmouth/lex/gui/
LexViewListener.java' 'source/edu/dartmouth/lex/gui/LexWindow.java'
'source/edu/dartmouth/lex/gui/ManageWorkbooksView.java' 'source/edu/
dartmouth/lex/gui/MenuBarView.java' 'source/edu/dartmouth/lex/gui/
OutputView.java' 'source/edu/dartmouth/lex/gui/PreferencesView.java'
'source/edu/dartmouth/lex/gui/SelectProfileView.java' 'source/edu/
dartmouth/lex/gui/SpecialCharactersView.java' 'source/edu/dartmouth/
lex/gui/TreeView.java' 'source/edu/dartmouth/lex/gui/
ViewChangedListener.java' 'source/edu/dartmouth/lex/Lex.java' 'source/
edu/dartmouth/lex/Lexinomicon.java' 'source/edu/dartmouth/lex/plugin/
AbstractPlugin.java' 'source/edu/dartmouth/lex/plugin/
CollectionPlugin.java' 'source/edu/dartmouth/lex/plugin/
FillInTheBlankPlugin.java' 'source/edu/dartmouth/lex/plugin/
ItemPlugin.java' 'source/edu/dartmouth/lex/plugin/Plugin.java'
'source/edu/dartmouth/lex/plugin/PluginListener.java' 'source/edu/
dartmouth/lex/plugin/PluginServices.java' 'source/edu/dartmouth/lex/
plugin/TransformationPlugin.java' 'source/edu/dartmouth/lex/util/
CharacterUtilities.java' 'source/edu/dartmouth/lex/util/
DoubleKeyHashtable.java' 'source/edu/dartmouth/lex/util/
MessageDisplayer.java' 'source/edu/dartmouth/lex/util/
OutputManager.java' 'source/edu/dartmouth/XMLFactory/XMLDoctype.java'
'source/edu/dartmouth/XMLFactory/XMLDocument.java' 'source/edu/
dartmouth/XMLFactory/XMLEntity.java' 'source/edu/dartmouth/XMLFactory/
XMLPlainText.java' 'source/edu/dartmouth/XMLFactory/
XMLSelfClosingTag.java' 'source/edu/dartmouth/XMLFactory/
XMLStatement.java' 'source/edu/dartmouth/XMLFactory/XMLTag.java'
'source/edu/dartmouth/XMLFactory/XMLVersionString.java' 'source/edu/
dartmouth/XMLFactory/XMLMarkupText.java' 'source/edu/dartmouth/lex/
gui/ToolbarView.java' 'source/edu/dartmouth/lex/plugin/
UnfindableAssetPlugin.java' 'source/edu/dartmouth/lex/util/
PanelFactory.java' 'source/MD5.java' 'source/edu/dartmouth/lex/gui/
ValuesPanel.java' 'source/edu/dartmouth/lex/gui/
EnhancedTextArea.java' 'source/edu/dartmouth/lex/gui/HelpView.java'
'source/edu/dartmouth/lex/LexMac.java' 'source/edu/dartmouth/lex/gui/
EnhancedLabel.java' 'source/edu/dartmouth/lex/gui/
EnhancedScrollPane.java' 'source/edu/dartmouth/lex/gui/
HistoryMenuView.java' 'source/edu/dartmouth/lex/gui/LexAboutBox.java'
'source/edu/dartmouth/lex/data/
NewerVersionOfAssetAlreadyExistsException.java' 'source/edu/dartmouth/
lex/LexConstants.java' 'source/edu/dartmouth/lex/plugin/
SimplePlugin.java' 'source/edu/dartmouth/lex/gui/NumeralsField.java'
'source/edu/dartmouth/lex/gui/StatisticsView.java' 'source/edu/
dartmouth/lex/gui/ComponentViewWorkaround.java' 'source/edu/dartmouth/
lex/util/EnhancedCollections.java' 'source/edu/dartmouth/lex/gui/
HelpMenuView.java' 'source/edu/dartmouth/lex/gui/
SingleViewWindow.java' 'source/edu/dartmouth/lex/util/Pair.java'
'source/edu/dartmouth/lex/plugin/UnknownTypePlugin.java' 'source/edu/
dartmouth/lex/DragAndDropEdit.java' 'source/edu/dartmouth/lex/gui/
ContainerPanel.java' 'source/edu/dartmouth/lex/plugin/
MultipleChoicePlugin.java' 'source/edu/dartmouth/lex/gui/
MediaPanel.java' 'source/edu/dartmouth/lex/gui/QTMediaPanel.java'
'source/edu/dartmouth/lex/util/ListenerGate.java' 'source/edu/
dartmouth/lex/util/ListenerGateFlag.java' 'source/edu/dartmouth/lex/
gui/ImageScalingPanel.java' 'source/edu/dartmouth/lex/gui/
DisplayableView.java' 'source/edu/dartmouth/lex/util/
SpecialCharacterSet.java' 'source/edu/dartmouth/lex/util/
ListDoubleKeyHashtable.java' 'source/edu/dartmouth/lex/plugin/
WorkbookPlugin.java' 'source/edu/dartmouth/lex/gui/EnhancedList.java'
'source/edu/dartmouth/lex/util/OrderedFocusTraversalPolicy.java'
'source/edu/dartmouth/lex/data/TreeDescription.java' 'source/edu/
dartmouth/lex/data/xml/EnhancedHandler.java' 'source/edu/dartmouth/
lex/data/xml/TreeDescriptionHandler.java' 'source/edu/dartmouth/lex/
data/xml/AssetHandler.java' 'source/edu/dartmouth/lex/data/xml/
ItemHandler.java' 'source/edu/dartmouth/lex/data/xml/
CollectionHandler.java' 'source/edu/dartmouth/lex/data/xml/
WorkbookHandler.java' 'source/edu/dartmouth/lex/data/xml/
ProfileHandler.java' 'source/edu/dartmouth/lex/data/xml/
MetadataHandler.java' 'source/edu/dartmouth/lex/data/
AssetWithProgrammaticChildren.java' 'source/edu/dartmouth/lex/gui/
EnhancedProgressBar.java' 'source/edu/dartmouth/lex/gui/
AssetSearchView.java' 'source/edu/dartmouth/lex/data/
MultimediaManager.java' 'source/edu/dartmouth/lex/util/
CompoundUndoableEdit.java' 'source/edu/dartmouth/lex/gui/
ConstantAspectFrame.java' 'source/edu/dartmouth/lex/data/
SearchCollection.java' 'source/edu/dartmouth/lex/data/xml/
SearchCollectionHandler.java' 'source/edu/dartmouth/lex/plugin/
SearchCollectionPlugin.java' 'source/edu/dartmouth/lex/
LexExportAccessoryPanel.java' 'source/edu/dartmouth/lex/gui/
LexEasterEggWindow.java' 'source/edu/dartmouth/lex/LexNode.java'
'source/edu/dartmouth/lex/BlackboardExportThread.java' 'source/edu/
dartmouth/lex/gui/EnhancedTreeModel.java' 'source/edu/dartmouth/lex/
util/SearchParameters.java' 'source/edu/dartmouth/lex/util/
BetterList.java' 'source/edu/dartmouth/lex/data/HistoryEntry.java'
'source/edu/dartmouth/lex/data/xml/HistoryEntryHandler.java' 'source/
edu/dartmouth/lex/LexUpdateChecker.java' 'source/edu/dartmouth/lex/
gui/SectionsPanel.java' 'source/edu/dartmouth/lex/gui/
CollapsiblePanel.java'
source/edu/dartmouth/lex/gui/PreferencesView.java:63: cannot resolve
symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.gui.PreferencesView
private final EnhancedSlider guessesSlider =
new EnhancedSlider( 0, 10, 3 );
^
source/edu/dartmouth/lex/Lex.java:55: cannot resolve symbol
symbol : class LocalizationManager
location: class edu.dartmouth.lex.Lex
public static final LocalizationManager
strings = LocalizationManager.getInstance();
^
source/edu/dartmouth/lex/plugin/FillInTheBlankPlugin.java:91: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.FillInTheBlankPlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
source/edu/dartmouth/lex/plugin/TransformationPlugin.java:76: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.TransformationPlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
source/edu/dartmouth/lex/plugin/MultipleChoicePlugin.java:65: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.MultipleChoicePlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
source/edu/dartmouth/lex/gui/PreferencesView.java:63: cannot resolve
symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.gui.PreferencesView
private final EnhancedSlider guessesSlider =
new EnhancedSlider( 0, 10, 3 );
^
source/edu/dartmouth/lex/Lex.java:55: cannot resolve symbol
symbol : variable LocalizationManager
location: class edu.dartmouth.lex.Lex
public static final LocalizationManager
strings = LocalizationManager.getInstance();
^
source/edu/dartmouth/lex/plugin/FillInTheBlankPlugin.java:91: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.FillInTheBlankPlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
source/edu/dartmouth/lex/plugin/TransformationPlugin.java:76: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.TransformationPlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
source/edu/dartmouth/lex/plugin/MultipleChoicePlugin.java:65: cannot
resolve symbol
symbol : class EnhancedSlider
location: class edu.dartmouth.lex.plugin.MultipleChoicePlugin
private final EnhancedSlider editorGuessesSlider
= new EnhancedSlider( 1, 10, 3 );
^
10 errors
...failed JavaCompile.default <CompileJava>Lexinomicon.app ...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden